Try the same offsetting as X - I think it helps w/ mikade's Space Invasion camera problem
authornemo
Sun, 11 Sep 2011 08:54:21 -0400
changeset 5848 103e3a80daa6
parent 5847 9fd9d159ca32
child 5849 b84b41aba275
Try the same offsetting as X - I think it helps w/ mikade's Space Invasion camera problem
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sat Sep 10 22:55:31 2011 -0400
+++ b/hedgewars/uWorld.pas	Sun Sep 11 08:54:21 2011 -0400
@@ -1196,7 +1196,7 @@
     else
     begin
         CursorPoint.X:= (prevPoint.X * 7 + hwRound(FollowGear^.X) + hwSign(FollowGear^.dX) * 100 + WorldDx) div 8;
-        CursorPoint.Y:= (prevPoint.Y * 7 + cScreenHeight - (hwRound(FollowGear^.Y) + WorldDy)) div 8;
+        CursorPoint.Y:= (prevPoint.Y * 7 + cScreenHeight - (hwRound(FollowGear^.Y)+ hwSign(FollowGear^.dX) * 100 + WorldDy)) div 8;
     end;
 
 wdy:= trunc(cScreenHeight / cScaleFactor) + cScreenHeight div 2 - cWaterLine - cVisibleWater;