I'll learn to build first eventually...
authornemo
Mon, 15 Aug 2011 16:50:09 -0400
changeset 5580 46b6de65d313
parent 5578 153e32989646
child 5581 cc43f382ed9a
I'll learn to build first eventually...
hedgewars/VGSHandlers.inc
--- 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;