X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=9a8fd1188eb6c3269a040c4253d8000cac2082d4;hp=aa06ac00c412c9a13c36afdac7d8dedb5920f8db;hb=16342bee09fa001d05697571124e48a93cd35f2c;hpb=23a883f6c44413c380997e61b00a756bda95bc03 diff --git a/src/game/g_console.pas b/src/game/g_console.pas index aa06ac0..9a8fd11 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -109,6 +109,9 @@ uses {$IFDEF ENABLE_GFX} g_gfx, {$ENDIF} + {$IFDEF ENABLE_GIBS} + g_gibs, + {$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; @@ -2004,7 +2007,9 @@ begin WriteLn(f, 'g_max_particles ', g_GFX_GetMax()); {$ENDIF} WriteLn(f, 'g_max_shells ', g_Shells_GetMax()); - WriteLn(f, 'g_max_gibs ', g_Gibs_GetMax()); + {$IFDEF ENABLE_GIBS} + WriteLn(f, 'g_max_gibs ', g_Gibs_GetMax()); + {$ENDIF} WriteLn(f, 'g_max_corpses ', g_Corpses_GetMax()); WriteLn(f, 'sv_intertime ', gDefInterTime);