hedgewars/uWorld.pas
changeset 12836 1fbc0d5a82d0
parent 12798 575c0de98505
child 12895 9c259fb4d405
child 13023 0248cf0da834
child 13229 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);