hedgewars/GSHandlers.inc
changeset 2480 e19419846196
parent 2475 e0646a529a38
child 2492 9e80b7fc4017
--- a/hedgewars/GSHandlers.inc	Fri Oct 16 11:58:28 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Fri Oct 16 12:01:19 2009 +0000
@@ -229,7 +229,7 @@
 		PlaySound(sndMolotov, false, nil);
 		//doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 5, EXPLAutoSound);
 		for i:= 0 to 40 do begin
-				dX:= AngleCos(i * 2) * ((_0_08*(i mod 10))) * (GetRandom + _1);
+				dX:= AngleCos(i * 2) * ((_0_08*(i div 10))) * (GetRandom + _1);
 				dY:= AngleSin(i * 8) * _0_5 * (GetRandom + _1);
 				Fire:= AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtFlame, 0, dX, dY, 0);
 				Fire^.State:= Fire^.State or gsttmpFlag;