diff -r 149416b948fc -r d4de36b3801a hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Thu Jun 24 01:08:57 2010 +0200 +++ b/hedgewars/uWorld.pas Sat Jun 26 04:36:04 2010 +0200 @@ -1007,12 +1007,14 @@ const PrevSentPointTime: LongWord = 0; var EdgesDist, wdy: LongInt; begin +{$IFNDEF IPHONEOS} if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus then - begin +begin SDL_GetMouseState(@CursorPoint.X, @CursorPoint.Y); CursorPoint.X:= CursorPoint.X - (cScreenWidth shr 1); CursorPoint.Y:= cScreenHeight - CursorPoint.Y; - end; +end; +{$ENDIF} if (not PlacingHogs) and (FollowGear <> nil) and (not isCursorVisible) and (not fastUntilLag) then if abs(CursorPoint.X - prevPoint.X) + abs(CursorPoint.Y - prevpoint.Y) > 4 then