# HG changeset patch # User nemo # Date 1267502656 0 # Node ID f982208e7f211581191b14707b4f9e529b0eb979 # Parent bd1909984a094074fc5f17aa6558ffa5d7aea995 tweak diff -r bd1909984a09 -r f982208e7f21 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Mon Mar 01 22:25:57 2010 +0000 +++ b/hedgewars/uGears.pas Tue Mar 02 04:04:16 2010 +0000 @@ -1554,7 +1554,7 @@ gtRope: DrawRope(Gear); gtSmokeTrace: if Gear^.State < 8 then DrawSprite(sprSmokeTrace, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, Gear^.State); gtExplosion: DrawSprite(sprExplosion50, hwRound(Gear^.X) - 32 + WorldDx, hwRound(Gear^.Y) - 32 + WorldDy, Gear^.State); - gtMine: if ((Gear^.State and gstAttacking) = 0)or((Gear^.Timer and $3FF) < 420) and (Gear^.Health <> 0) then + gtMine: if (((Gear^.State and gstAttacking) = 0)or((Gear^.Timer and $3FF) < 420)) and (Gear^.Health <> 0) then DrawRotated(sprMineOff, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, Gear^.DirAngle) else if Gear^.Health <> 0 then DrawRotated(sprMineOn, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, Gear^.DirAngle) else DrawRotated(sprMineDead, hwRound(Gear^.X) + WorldDx, hwRound(Gear^.Y) + WorldDy, 0, Gear^.DirAngle);