hedgewars/GSHandlers.inc
changeset 7745 0326e1bf674d
parent 7739 8d5d6b1be9ba
child 7754 e81dc9bef8b8
--- a/hedgewars/GSHandlers.inc	Thu Oct 11 21:17:56 2012 +0400
+++ b/hedgewars/GSHandlers.inc	Fri Oct 12 00:10:28 2012 +0400
@@ -4176,7 +4176,7 @@
         sdY := -sdY;
 
     // initial angle depends on current GameTicks
-    t := GameTicks mod 4096;
+    t := getRandom(4096);
 
 
     // used for a work-around detection of area that is within land array, but outside borders
@@ -4285,7 +4285,7 @@
 end;
 
 procedure doStepSineGunShot(Gear: PGear);
-var 
+var
     HHGear: PGear;
 begin
     PlaySound(sndSineGun);