hedgewars/uCommandHandlers.pas
changeset 5524 40b7f95d9f18
parent 5523 9ac5acc4f3e5
child 5530 25d4118056e1
child 5555 38e3d9347910
--- a/hedgewars/uCommandHandlers.pas	Sun Aug 07 22:24:13 2011 +0400
+++ b/hedgewars/uCommandHandlers.pas	Sun Aug 07 22:27:57 2011 +0400
@@ -51,7 +51,7 @@
     end else
     begin
         GameState:= prevGState;
-        SDL_ShowCursor(0)
+        SDL_ShowCursor(ord(isPaused))
     end
 end;
 
@@ -533,7 +533,11 @@
 s:= s; // avoid compiler hint
 if gameType <> gmtNet then
     isPaused:= not isPaused;
-SDL_ShowCursor(ord(isPaused))
+
+if isPaused then
+    SDL_ShowCursor(1)
+    else
+    SDL_ShowCursor(ord(GameState = gsConfirm))
 end;
 
 procedure chRotateMask(var s: shortstring);