changeset 12794 | 28782e03b8f0 |
parent 12741 | 7cbb0241d31c |
child 12860 | 1b2b84315d27 |
child 12898 | 9cb98c97fbcb |
--- a/hedgewars/uIO.pas Fri Oct 27 19:54:27 2017 +0200 +++ b/hedgewars/uIO.pas Sat Oct 28 04:53:21 2017 +0200 @@ -491,7 +491,8 @@ TargetPoint.X:= CursorPoint.X - WorldDx; TargetPoint.Y:= cScreenHeight - CursorPoint.Y - WorldDy; end; - TargetPoint.X:= CalcWorldWrap(TargetPoint.X, 0); + if (WorldEdge <> weBounce) then + TargetPoint.X:= CalcWorldWrap(TargetPoint.X, 0); SendIPCXY('p', TargetPoint.X, TargetPoint.Y); end else