X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=99335bab48ac31344207cbba3491b32521c31b24;hp=9a8fd1188eb6c3269a040c4253d8000cac2082d4;hb=55f201758f237cac6c889e98572e6eda7c4067fc;hpb=16342bee09fa001d05697571124e48a93cd35f2c diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 9a8fd11..99335ba 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -112,6 +112,9 @@ uses {$IFDEF ENABLE_GIBS} g_gibs, {$ENDIF} + {$IFDEF ENABLE_SHELLS} + g_shells, + {$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; @@ -2006,7 +2009,9 @@ begin {$IFDEF ENABLE_GFX} WriteLn(f, 'g_max_particles ', g_GFX_GetMax()); {$ENDIF} - WriteLn(f, 'g_max_shells ', g_Shells_GetMax()); + {$IFDEF ENABLE_SHELLS} + WriteLn(f, 'g_max_shells ', g_Shells_GetMax()); + {$ENDIF} {$IFDEF ENABLE_GIBS} WriteLn(f, 'g_max_gibs ', g_Gibs_GetMax()); {$ENDIF}