X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_options.pas;h=936f2b8cd8ad49444d168b110690315eb4a780d4;hb=9c48cca3ecf72ee2f326460c7fe895245544bdcf;hp=83bae9679f92697cceb072d3ed4625f75bbd46a0;hpb=55f201758f237cac6c889e98572e6eda7c4067fc;p=d2df-sdl.git diff --git a/src/game/g_options.pas b/src/game/g_options.pas index 83bae96..936f2b8 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -134,6 +134,9 @@ uses {$IFDEF ENABLE_SHELLS} g_shells, {$ENDIF} + {$IFDEF ENABLE_CORPSES} + g_corpses, + {$ENDIF} e_log, e_input, g_console, g_sound, g_player, Math, g_map, g_net, g_netmaster, SysUtils, CONFIG, g_game, g_items, wadreader, envvars; @@ -292,7 +295,9 @@ begin {$IFDEF ENABLE_SHELLS} g_Shells_SetMax(DefaultShellMax); {$ENDIF} - g_Corpses_SetMax(20); + {$IFDEF ENABLE_CORPSES} + g_Corpses_SetMax(DefaultCorpsesMax); + {$ENDIF} {$IFDEF ENABLE_GIBS} g_Gibs_SetMax(DefaultGibsMax); gGibsCount := DefaultGibsCount;