hedgewars/uGearsHandlersMess.pas
changeset 10253 ea57f2f2b98d
parent 10251 a3b42e81803c
child 10286 1940e937fc08
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jun 01 15:26:03 2014 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jun 01 16:13:47 2014 -0400
@@ -2594,7 +2594,7 @@
     HHGear := Gear^.Hedgehog^.Gear;
     if not TryPlaceOnLand(Gear^.Target.X - SpritesData[sprHHTelepMask].Width div 2,
         Gear^.Target.Y - SpritesData[sprHHTelepMask].Height div 2,
-        sprHHTelepMask, 0, false, false) then
+        sprHHTelepMask, 0, false, false, not hasBorder, 0) then
         begin
         HHGear^.Message := HHGear^.Message and (not gmAttack);
         HHGear^.State := HHGear^.State and (not gstAttacking);