From ec75fd893e2e0671001a0216fb3fc8e35bf07445 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Tue, 18 Jan 2022 20:40:36 +0300 Subject: [PATCH] models: fix player walk + fire --- src/game/g_playermodel.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_playermodel.pas b/src/game/g_playermodel.pas index 1d1fca7..86d5b5a 100644 --- a/src/game/g_playermodel.pas +++ b/src/game/g_playermodel.pas @@ -749,7 +749,7 @@ end; procedure TPlayerModel.SetFire (Fire: Boolean); begin if Fire then - FFireCounter := PlayerModelsArray[FID].ModelSpeed[A_ATTACK] * PlayerModelsArray[FID].Anim[TDirection.D_RIGHT, A_ATTACK].Frames + FFireCounter := PlayerModelsArray[FID].ModelSpeed[A_ATTACK] * PlayerModelsArray[FID].Anim[TDirection.D_RIGHT, A_ATTACK].Frames + 1 else FFireCounter := 0 end; -- 2.29.2