summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec3e024)
raw | patch | inline | side by side (parent: ec3e024)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Tue, 18 Jan 2022 17:40:36 +0000 (20:40 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 07:56:42 +0000 (10:56 +0300) |
src/game/g_playermodel.pas | patch | blob | history |
index 1d1fca781779cccd2b76e08cc34ab2af6a458046..86d5b5a8be9b8d124ad79aa872302319d3d5c076 100644 (file)
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;