X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_player.pas;h=72766a7600dfb533dcd8ba085812a85f0c2d3d3a;hb=c0115fd1c20a28cc7e656c12fe3f724faedc7759;hp=c2605a092509cd28d1f5bbf36c64a5e7fb7a1014;hpb=c2a61ca4c55176833717364921d3a7c952311354;p=d2df-sdl.git diff --git a/src/game/g_player.pas b/src/game/g_player.pas index c2605a0..72766a7 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -4680,7 +4680,7 @@ begin if (FModel.AnimState.Played or ((not FActionChanged) and (FModel.Animation = A_WALK))) then SetAction(A_STAND, True); - if not ((FModel.Animation = A_WALK) and (Abs(FObj.Vel.X) < 4) and not FModel.Fire) then FModel.Update; + if not ((FModel.Animation = A_WALK) and (Abs(FObj.Vel.X) < 4) and not FModel.GetFire()) then FModel.Update; for b := Low(FKeys) to High(FKeys) do if FKeys[b].Time = 0 then FKeys[b].Pressed := False else Dec(FKeys[b].Time);