avoid double applying wind on drill
authornemo
Sun, 15 Nov 2015 14:14:50 -0500
changeset 11391 bc9650ec9b20
parent 11390 36e1bbb6ecea
child 11392 f4e19cd88747
avoid double applying wind on drill
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Sun Nov 15 21:57:38 2015 +0300
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Nov 15 14:14:50 2015 -0500
@@ -3537,7 +3537,7 @@
 begin
     AllInactive := false;
 
-    if (Gear^.State and gsttmpFlag) = 0 then
+    if (Gear^.State and gsttmpFlag = 0) and (GameFlags and gfMoreWind = 0) then
         Gear^.dX := Gear^.dX + cWindSpeed;
 
     oldDx := Gear^.dX;