X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_phys.pas;h=41fdfddc5d2517d45849265c1da176e17bd23920;hb=3d8489bb2d74d08d3a9ccad06eea7e8fb7d4038d;hp=a16abeef71f0a1341d554f97275dacf24fdb7561;hpb=722b4ecdb98bd4d51cd944030d6d44e96d76cf76;p=d2df-sdl.git diff --git a/src/game/g_phys.pas b/src/game/g_phys.pas index a16abee..41fdfdd 100644 --- a/src/game/g_phys.pas +++ b/src/game/g_phys.pas @@ -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,