hedgewars/uWorld.pas
changeset 1595 33529f567d2d
parent 1529 3bc916b419cd
child 1660 0eaa6cf36276
--- a/hedgewars/uWorld.pas	Thu Jan 08 12:59:47 2009 +0000
+++ b/hedgewars/uWorld.pas	Thu Jan 08 13:00:54 2009 +0000
@@ -419,7 +419,7 @@
 if (not (CurrentTeam^.ExtDriven and isCursorVisible))
    and cHasFocus then SDL_GetMouseState(@CursorPoint.X, @CursorPoint.Y);
 
-if (FollowGear <> nil) then
+if (FollowGear <> nil) and (not isCursorVisible) then
    if abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y) > 4 then
       begin
       FollowGear:= nil;