hedgewars/VGSHandlers.inc
changeset 5580 46b6de65d313
parent 5578 153e32989646
child 5581 cc43f382ed9a
--- a/hedgewars/VGSHandlers.inc	Mon Aug 15 16:49:15 2011 -0400
+++ b/hedgewars/VGSHandlers.inc	Mon Aug 15 16:50:09 2011 -0400
@@ -523,7 +523,7 @@
 
 Gear^.doStep:= @doStepHealthTagWork;
 
-if (round(Gear^.Y) < cWaterLine) and (Frame = 0)  then
+if (round(Gear^.Y) < cWaterLine) and (Gear^.Frame = 0)  then
     Gear^.doStep:= @doStepHealthTagWorkUnderWater;
 
 Gear^.Y:= Gear^.Y - Gear^.Tex^.h;