diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas
index 504a1766747c7c54c1c206a10fc0b57566c2d20f..0c8788129a170f7def99259fbbe97c1e43e92ce2 100644 (file)
--- a/src/game/g_weapons.pas
+++ b/src/game/g_weapons.pas
procedure g_Weapon_Update();
var
- i, a, h, cx, cy, oldvx, oldvy: Integer;
+ i, a, h, cx, cy, oldvx, oldvy, tf: Integer;
_id: DWORD;
Anim: TAnimation;
t: DWArray;
ShotType := 0;
end;
- if g_Frames_Get(_id, 'FRAMES_FLAME') and (gTime mod 3 = 0) then
+ if Stopped = 0 then
+ tf := 2
+ else
+ tf := 3;
+
+ if (gTime mod tf = 0) and g_Frames_Get(_id, 'FRAMES_FLAME') then
begin
Anim := TAnimation.Create(_id, False, 2 + Random(2));
Anim.Alpha := 0;