diff -r 5ab22736bdb6 -r 2e5835130d9a hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Fri Sep 09 04:39:17 2011 +0200 +++ b/hedgewars/uWorld.pas Fri Sep 09 05:15:45 2011 +0200 @@ -1319,9 +1319,12 @@ procedure ShakeCamera(amount: LongWord); begin + if isCursorVisible then exit; amount:= Max(1, amount); - WorldDx:= WorldDx - amount + LongInt(getRandom(1 + amount * 2)); - WorldDy:= WorldDy - amount + LongInt(getRandom(1 + amount * 2)); + //WorldDx:= WorldDx - amount + LongInt(getRandom(1 + amount * 2)); + //WorldDy:= WorldDy - amount + LongInt(getRandom(1 + amount * 2)); + CursorPoint.X:= CursorPoint.X - amount + LongInt(getRandom(1 + amount * 2)); + CursorPoint.Y:= CursorPoint.Y - amount + LongInt(getRandom(1 + amount * 2)) end;