--- a/hedgewars/GSHandlers.inc Tue Jul 28 12:50:33 2009 +0000
+++ b/hedgewars/GSHandlers.inc Tue Jul 28 12:50:47 2009 +0000
@@ -740,11 +740,7 @@
HedgehogChAngle(HHGear);
-if TestCollisionXwithGear(HHGear, hwSign(HHGear^.dX)) then
- begin
- {$IFDEF DEBUGFILE}if HHGear^.dX.QWordValue > 1 then AddFileLog('1 Stopping hedgehog after rope attack due to wall collision');{$ENDIF}
- SetLittle(HHGear^.dX);
- end;
+if TestCollisionXwithGear(HHGear, hwSign(HHGear^.dX)) then SetLittle(HHGear^.dX);
if HHGear^.dY.isNegative and TestCollisionYwithGear(HHGear, -1) then HHGear^.dY:= _0;
HHGear^.X:= HHGear^.X + HHGear^.dX;