hedgewars/uGearsRender.pas
changeset 10818 f642a28cab0c
parent 10807 66cde98f8cbe
child 10848 231d3e3d3267
--- a/hedgewars/uGearsRender.pas	Sat Feb 07 23:25:33 2015 +0300
+++ b/hedgewars/uGearsRender.pas	Sat Feb 14 17:34:12 2015 -0500
@@ -1128,7 +1128,7 @@
                         end
                     else if (Gear^.Hedgehog <> nil) and (Gear^.Hedgehog^.Gear <> nil) then  // mine is chasing a hog
                          DrawSprite(sprAirMine, x-16, y-16, (RealTicks div 25) mod 16)
-                    else if Gear^.State and gstHHChooseTarget <> 0 then   // mine is seeking for hogs
+                    else if Gear^.State and gstChooseTarget <> 0 then   // mine is seeking for hogs
                          DrawSprite(sprAirMine, x-16, y-16, (RealTicks div 125) mod 16)
                     else
                          DrawSprite(sprAirMine, x-16, y-16, 4);           // mine is active but not seeking