Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r deab88f1f6f7 hedgewars/uGearsHandlersMess.pas
- --- a/hedgewars/uGearsHandlersMess.pas Fri Mar 09 23:34:46 2018 +0100
- +++ b/hedgewars/uGearsHandlersMess.pas Sat Mar 10 02:47:51 2018 +0300
- @@ -1130,11 +1130,18 @@
- procedure doStepShotIdle(Gear: PGear);
- begin
- AllInactive := false;
- - inc(Gear^.Timer);
- - if Gear^.Timer > 75 then
- + if (Gear^.Kind <> gtMinigunBullet) then
- + begin
- + inc(Gear^.Timer);
- + if Gear^.Timer > 75 then
- + begin
- + DeleteGear(Gear);
- + AfterAttack
- + end
- + end
- + else
- begin
- DeleteGear(Gear);
- - AfterAttack
- end
- end;
Add Comment
Please, Sign In to add comment