pas2c still does (not like) this
authorsheepluva
Tue, 12 Jan 2016 22:43:39 +0100
changeset 11503 09be932506a9
parent 11502 382f91348d91
child 11504 df336149cc2b
pas2c still does (not like) this
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Tue Jan 12 22:36:08 2016 +0100
+++ b/hedgewars/uGears.pas	Tue Jan 12 22:43:39 2016 +0100
@@ -821,7 +821,7 @@
                                      hwRound(Gear^.Y) - SpritesData[sprTargetBee].Height div 2, 
                                      sprTargetBee, 0, lfBasic, $FFFFFFFF, false, false, false);
                     Gear^.Y:= int2hwFloat(hwRound(Gear^.Y) - 16 - Gear^.Radius);
-                    Gear^.State:= Gear^.State and not gsttmpFlag;
+                    Gear^.State:= Gear^.State and (not gsttmpFlag);
                     AddFileLog('Carved a hole for hog at coordinates (' + inttostr(hwRound(Gear^.X)) + ',' + inttostr(hwRound(Gear^.Y)) + ')')
                     end
 end;