DEADSOFTWARE

game: disable gibs for server
[d2df-sdl.git] / src / game / g_console.pas
index aa06ac00c412c9a13c36afdac7d8dedb5920f8db..9a8fd1188eb6c3269a040c4253d8000cac2082d4 100644 (file)
@@ -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);