DEADSOFTWARE

fixed map loading bug: panel texture internal id was incorrect (and worked only by...
[d2df-sdl.git] / src / game / g_phys.pas
index a16abeef71f0a1341d554f97275dacf24fdb7561..e92e49b1a6a9ba171d187a2acc2aa4e167df4fe8 100644 (file)
@@ -73,7 +73,7 @@ implementation
 
 uses
   g_map, g_basic, Math, g_player, g_console, SysUtils,
-  g_sound, g_gfx, MAPDEF, g_monsters, g_game, BinEditor, utils;
+  g_sound, g_gfx, MAPDEF, g_monsters, g_game, utils;
 
 
 const
@@ -138,7 +138,7 @@ begin
   for plr in gPlayers do
   begin
     if (plr = nil) then continue;
-    if not plr.Live then continue;
+    if not plr.alive then continue;
     with plr do
     begin
       if g_Collide(GameX+PLAYER_RECT.X, GameY+PLAYER_RECT.Y,