Release mouse cursor in gsConfirm state
authorunc0rr
Sun, 07 Aug 2011 22:20:52 +0400
changeset 5522 5a4bc518c59a
parent 5521 3be9fda5c3c2
child 5523 9ac5acc4f3e5
Release mouse cursor in gsConfirm state
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Sun Aug 07 22:18:51 2011 +0400
+++ b/hedgewars/uWorld.pas	Sun Aug 07 22:20:52 2011 +0400
@@ -1177,7 +1177,7 @@
     PrevSentPointTime: LongWord = 0;
 begin
 {$IFNDEF IPHONEOS}
-if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus then
+if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus and (GameState <> gsConfirm) then
     uCursor.updatePosition();
 {$ENDIF}