X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame%2Fg_console.pas;h=3005340534c6eec96e5553e1d1e7eef3eb3a51e9;hb=446340cbb80a217bbb7ebdfcfed85f252bad5282;hp=5bb4c178565164c40faf1cf9186c623fd570f939;hpb=b8b3691f5a4d6537539f557588cfd6fab79ed4b6;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 5bb4c17..3005340 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -117,7 +117,10 @@ uses {$IFDEF ENABLE_SHELLS} g_shells, {$ENDIF} - g_textures, e_input, g_game, g_player, g_items, + {$IFDEF ENABLE_CORPSES} + g_corpses, + {$ENDIF} + 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, g_weapons, Keyboard; @@ -1622,12 +1625,6 @@ begin //SetLength(ConsoleHistory, Length(ConsoleHistory)+1); //ConsoleHistory[High(ConsoleHistory)] := L; - - (* -{$IFDEF HEADLESS} - e_WriteLog('CON: ' + L, MSG_NOTIFY); -{$ENDIF} - *) end; @@ -2102,7 +2099,9 @@ begin {$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, 'g_force_model ', g_Force_Model_Get()); WriteLn(f, 'g_force_model_name ', g_Forced_Model_GetName()); WriteLn(f, 'sv_intertime ', gDefInterTime);