oops
authornemo
Thu, 18 Aug 2011 23:33:39 -0400
changeset 5596 555c4fc1f3bd
parent 5594 3ab68a93434b
child 5598 265429f7ba85
oops
hedgewars/VGSHandlers.inc
hedgewars/uVisualGears.pas
--- 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;
--- a/hedgewars/uVisualGears.pas	Thu Aug 18 00:14:43 2011 +0200
+++ b/hedgewars/uVisualGears.pas	Thu Aug 18 23:33:39 2011 -0400
@@ -283,6 +283,7 @@
                 Frame:= 0;
                 Timer:= 1500;
                 dY:= -0.08;
+                dX:= 0;
                 //gear^.Z:= 2002;
                 end;
   vgtSmokeTrace,