diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 99335bab48ac31344207cbba3491b32521c31b24..ab2099a7ec141608f1a0d661dfd2b6d8408a40a3 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
{$IFDEF ENABLE_SHELLS}
g_shells,
{$ENDIF}
+ {$IFDEF ENABLE_CORPSES}
+ g_corpses,
+ {$ENDIF}
g_textures, e_input, g_game, g_player, g_items,
SysUtils, g_basic, g_options, Math, e_res,
g_language, g_net, g_netmsg, e_log, conbuf;
//SetLength(ConsoleHistory, Length(ConsoleHistory)+1);
//ConsoleHistory[High(ConsoleHistory)] := L;
-
- (*
-{$IFDEF HEADLESS}
- e_WriteLog('CON: ' + L, MSG_NOTIFY);
-{$ENDIF}
- *)
end;
{$IFDEF ENABLE_GIBS}
WriteLn(f, 'g_max_gibs ', g_Gibs_GetMax());
{$ENDIF}
- WriteLn(f, 'g_max_corpses ', g_Corpses_GetMax());
+ {$IFDEF ENABLE_CORPSES}
+ WriteLn(f, 'g_max_corpses ', g_Corpses_GetMax());
+ {$ENDIF}
WriteLn(f, 'sv_intertime ', gDefInterTime);
// gameplay settings