--- a/hedgewars/HHHandlers.inc Sat Apr 12 17:19:01 2008 +0000
+++ b/hedgewars/HHHandlers.inc Sat Apr 12 18:16:12 2008 +0000
@@ -252,7 +252,7 @@
exit
end;
DeleteCI(Gear); // must be after exit!! (see previous line)
-
+
PHedgehog(Gear^.Hedgehog)^.visStepPos:= (PHedgehog(Gear^.Hedgehog)^.visStepPos + 1) and 7;
if TestCollisionXwithGear(Gear, hwSign(Gear^.dX)) then
begin
--- a/hedgewars/uCollisions.pas Sat Apr 12 17:19:01 2008 +0000
+++ b/hedgewars/uCollisions.pas Sat Apr 12 18:16:12 2008 +0000
@@ -119,10 +119,10 @@
begin
IntersectGear:= nil;
TestWord:= 0
- end else
+ end else
TestWord:= COLOR_LAND - 1
else TestWord:= 0;
-
+
x:= hwRound(Gear^.X);
if Dir < 0 then x:= x - Gear^.Radius
else x:= x + Gear^.Radius;