changeset 7721 | 2b1ad418ba39 |
parent 7671 | 43f38923bc6e |
child 7901 | a86ccf3da9ca |
--- a/hedgewars/uAIActions.pas Mon Oct 01 00:31:38 2012 +0400 +++ b/hedgewars/uAIActions.pas Mon Oct 01 12:01:39 2012 +0400 @@ -234,7 +234,7 @@ doPut(X, Y, true); aia_waitAngle: - if Me^.Angle <> Abs(Param) then exit; + if LongInt(Me^.Angle) <> Abs(Param) then exit; aia_waitAmmoXY: if (CurAmmoGear <> nil) and ((hwRound(CurAmmoGear^.X) <> X) or (hwRound(CurAmmoGear^.Y) <> Y)) then exit;