X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=687a412661b7b6fa3ea0b4eeb9b684c26981f734;hb=9c48cca3ecf72ee2f326460c7fe895245544bdcf;hp=99335bab48ac31344207cbba3491b32521c31b24;hpb=55f201758f237cac6c889e98572e6eda7c4067fc;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 99335ba..687a412 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -115,6 +115,9 @@ uses {$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; @@ -2015,7 +2018,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, 'sv_intertime ', gDefInterTime); // gameplay settings