Change this back to allowing hooking rope to hogs again, 'cause, well, rage...
authornemo
Sat, 21 May 2016 15:23:08 -0400
changeset 11831 dd18d8100afd
parent 11830 6078cf0e4944
child 11832 f2ab65d97242
Change this back to allowing hooking rope to hogs again, 'cause, well, rage...
hedgewars/uGearsHandlersRope.pas
hedgewars/uGearsList.pas
--- a/hedgewars/uGearsHandlersRope.pas	Sat May 21 14:39:35 2016 -0400
+++ b/hedgewars/uGearsHandlersRope.pas	Sat May 21 15:23:08 2016 -0400
@@ -498,7 +498,7 @@
         end;
 
     if Gear^.Elasticity < _20 then Gear^.CollisionMask:= lfLandMask
-    else Gear^.CollisionMask:= lfNotObjMask or lfNotHHObjMask;
+    else Gear^.CollisionMask:= lfNotCurrentMask; //lfNotObjMask or lfNotHHObjMask;
     CheckCollision(Gear);
 
     if (Gear^.State and gstCollision) <> 0 then
--- a/hedgewars/uGearsList.pas	Sat May 21 14:39:35 2016 -0400
+++ b/hedgewars/uGearsList.pas	Sat May 21 15:23:08 2016 -0400
@@ -407,7 +407,7 @@
                 RopePoints.Count:= 0;
                 gear^.Tint:= $D8D8D8FF;
                 gear^.Tag:= 0; // normal rope render
-                gear^.CollisionMask:= lfNotObjMask or lfNotHHObjMask;
+                gear^.CollisionMask:= lfNotCurrentMask //lfNotObjMask or lfNotHHObjMask;
                 end;
         gtMine: begin
                 gear^.ImpactSound:= sndMineImpact;