hedgewars/uGearsList.pas
changeset 13159 44351ea57b71
parent 13101 d78e65c66573
child 13352 e7b89e87a1b3
--- a/hedgewars/uGearsList.pas	Sat Mar 10 01:28:15 2018 +0100
+++ b/hedgewars/uGearsList.pas	Sat Mar 10 01:46:51 2018 +0100
@@ -746,8 +746,12 @@
                 gear^.Density:= _0_5;
                 gear^.AdvBounce:= 1;
                 end;
-       gtMinigun: begin
-                if gear^.Timer = 0 then gear^.Timer:= 601;
+     gtMinigun: begin
+                // Timer. First, it's the timer before shooting. Then it will become the shooting timer and is set to Karma
+                if gear^.Timer = 0 then
+                    gear^.Timer:= 601;
+                // minigun shooting time. 1 bullet is fired every 50ms
+                gear^.Karma:= 3451;
                 end;
  gtMinigunBullet: begin
                 gear^.Radius:= 1;