changeset 12793 | 575c0de98505 |
parent 12787 | a6f51ac9a3f2 |
child 12831 | 1fbc0d5a82d0 |
--- a/hedgewars/uWorld.pas Sat Oct 28 07:59:41 2017 +0200 +++ b/hedgewars/uWorld.pas Sat Oct 28 17:48:54 2017 +0200 @@ -2014,10 +2014,10 @@ procedure updateCursorVisibility; begin - if isPaused or isAFK then - SDL_ShowCursor(1) + if isPaused or isAFK or (GameState = gsConfirm) then + uCursor.setSystemCursor(true) else - SDL_ShowCursor(ord(GameState = gsConfirm)) + uCursor.setSystemCursor(false); end; procedure SetUtilityWidgetState(ammoType: TAmmoType);