hedgewars/VGSHandlers.inc
changeset 5596 555c4fc1f3bd
parent 5581 cc43f382ed9a
child 5800 3a04c30e5ac7
--- a/hedgewars/VGSHandlers.inc	Thu Aug 18 00:14:43 2011 +0200
+++ b/hedgewars/VGSHandlers.inc	Thu Aug 18 23:33:39 2011 -0400
@@ -524,7 +524,7 @@
 
 Gear^.doStep:= @doStepHealthTagWork;
 
-if (round(Gear^.Y) < cWaterLine) and (Gear^.Frame = 0)  then
+if (round(Gear^.Y) > cWaterLine) and (Gear^.Frame = 0)  then
     Gear^.doStep:= @doStepHealthTagWorkUnderWater;
 
 Gear^.Y:= Gear^.Y - Gear^.Tex^.h;