DEADSOFTWARE

game: fix spectator mode switch
[d2df-sdl.git] / src / game / g_netmsg.pas
index 4ada39477e8bf9ee37c7a738029786fce98211a4..bd2bb6ff6eb8b4c8db401598976a942c3300f078 100644 (file)
@@ -300,7 +300,7 @@ implementation
       g_corpses,
     {$ENDIF}
     Math, ENet, e_input, e_log, g_base, g_basic,
-    g_sound, g_console, g_options,
+    g_sound, g_console, g_options, g_window,
     g_game, g_player, g_map, g_panel, g_items, g_weapons, g_phys,
     g_language, g_monsters, g_netmaster, utils, wadreader, MAPDEF
   ;
@@ -2141,7 +2141,7 @@ begin
       {$IFDEF ENABLE_GIBS}
         g_Gibs_RemoveAll;
       {$ENDIF}
-      {$IFDEF ENALBE_SHELLS}
+      {$IFDEF ENABLE_SHELLS}
         g_Shells_RemoveAll;
       {$ENDIF}
       {$IFDEF ENABLE_CORPSES}