Fix bug allowing to make stacks of hedgehogs with teleport
authorunc0rr
Sun, 23 Mar 2008 18:03:07 +0000
changeset 819 129cdeabc9d4
parent 818 635e58295079
child 820 a26537586400
Fix bug allowing to make stacks of hedgehogs with teleport
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Fri Mar 21 20:41:23 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Mar 23 18:03:07 2008 +0000
@@ -1184,6 +1184,7 @@
         end
    else begin
         DeleteCI(HHGear);
+        SetAllHHToActive;
         Gear^.doStep:= @doStepTeleportAfter;
         HHGear^.X:= int2hwFloat(TargetPoint.X);
         HHGear^.Y:= int2hwFloat(TargetPoint.Y);