hedgewars/uGearsList.pas
changeset 7069 bcf9d8e64e92
parent 7028 0f60591f3a16
child 7077 74b0265d79e8
--- a/hedgewars/uGearsList.pas	Sat May 12 22:50:33 2012 +0400
+++ b/hedgewars/uGearsList.pas	Sat May 12 23:55:09 2012 +0400
@@ -170,7 +170,7 @@
                     begin
                     Pos:= 0;
                     Radius:= 1;
-                    DirAngle:= random * 360;
+                    DirAngle:= random(360);
                     if State and gstTmpFlag = 0 then
                         begin
                         dx.isNegative:= GetRandom(2) = 0;