hedgewars/GSHandlers.inc
changeset 6507 e462a57f432e
parent 6498 5678806aafca
child 6532 76d63e00002f
--- a/hedgewars/GSHandlers.inc	Tue Dec 06 05:53:02 2011 +0200
+++ b/hedgewars/GSHandlers.inc	Mon Dec 05 23:10:53 2011 -0500
@@ -1626,14 +1626,13 @@
     if not haveCollision then
         begin
         if (Gear^.State and gsttmpFlag) <> 0 then
-            with Gear^.Hedgehog^ do
-                begin
-                PlaySound(sndRopeRelease);
-                if CurAmmoType <> amParachute then
-                    RopeWaitCollision(Gear, HHGear)
-                else
-                    RopeDeleteMe(Gear, HHGear)
-                end
+            begin
+            PlaySound(sndRopeRelease);
+            if Gear^.Hedgehog^.CurAmmoType <> amParachute then
+                RopeWaitCollision(Gear, HHGear)
+            else
+                RopeDeleteMe(Gear, HHGear)
+            end
         end
     else
         if (Gear^.State and gsttmpFlag) = 0 then