DEADSOFTWARE

models: remove superfluous fire state
[d2df-sdl.git] / src / game / g_player.pas
index c2605a092509cd28d1f5bbf36c64a5e7fb7a1014..72766a7600dfb533dcd8ba085812a85f0c2d3d3a 100644 (file)
@@ -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);