DEADSOFTWARE

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