hedgewars/uWorld.pas
changeset 12831 1fbc0d5a82d0
parent 12793 575c0de98505
child 12890 9c259fb4d405
child 13018 0248cf0da834
child 13224 01ab48b253ef
--- a/hedgewars/uWorld.pas	Sun Nov 12 17:25:17 2017 +0100
+++ b/hedgewars/uWorld.pas	Sun Nov 12 17:41:01 2017 +0100
@@ -2014,10 +2014,10 @@
 
 procedure updateCursorVisibility;
 begin
-    if isPaused or isAFK or (GameState = gsConfirm) then
-        uCursor.setSystemCursor(true)
+    if isPaused or isAFK then
+        SDL_ShowCursor(1)
     else
-        uCursor.setSystemCursor(false);
+        SDL_ShowCursor(ord(GameState = gsConfirm))
 end;
 
 procedure SetUtilityWidgetState(ammoType: TAmmoType);