hedgewars/uGearsHandlersMess.pas
changeset 11044 c3d76daae637
parent 11042 d29a05a55bbc
child 11046 47a8c19ecb60
--- a/hedgewars/uGearsHandlersMess.pas	Sun Aug 09 04:30:41 2015 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Aug 09 05:19:56 2015 +0200
@@ -5211,6 +5211,9 @@
 HHGear:= Gear^.Hedgehog^.Gear;
 HHGear^.State:= HHGear^.State or gstNoDamage;
 DeleteCI(HHGear);
+SetLittle(HHGear^.dY);
+HHGear^.dY.IsNegative:= true;
+HHGear^.State:= HHGear^.State or gstMoving;
 
 t:= CheckGearsCollision(Gear);