diff -r 79024988792e -r 011075f93746 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Mon Mar 08 21:52:40 2010 +0000 +++ b/hedgewars/uWorld.pas Tue Mar 09 02:02:22 2010 +0000 @@ -808,7 +808,7 @@ const PrevSentPointTime: LongWord = 0; var EdgesDist, wdy: LongInt; begin -if (not (CurrentTeam^.ExtDriven and isCursorVisible)) and cHasFocus then +if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus then begin SDL_GetMouseState(@CursorPoint.X, @CursorPoint.Y); CursorPoint.X:= CursorPoint.X - (cScreenWidth shr 1); @@ -823,8 +823,8 @@ exit end 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.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; end; wdy:= trunc(cScreenHeight / cScaleFactor) + cScreenHeight div 2 - cWaterLine - cVisibleWater;