equal
deleted
inserted
replaced
639 |
639 |
640 procedure chPause(var s: shortstring); |
640 procedure chPause(var s: shortstring); |
641 begin |
641 begin |
642 s:= s; // avoid compiler hint |
642 s:= s; // avoid compiler hint |
643 if gameType <> gmtNet then |
643 if gameType <> gmtNet then |
644 isPaused:= not isPaused; |
644 isPaused:= not isPaused |
645 |
645 else |
646 if isPaused then |
646 isAFK:= not isAFK; |
|
647 |
|
648 if isPaused or isAFK then |
647 SDL_ShowCursor(1) |
649 SDL_ShowCursor(1) |
648 else |
650 else |
649 SDL_ShowCursor(ord(GameState = gsConfirm)) |
651 SDL_ShowCursor(ord(GameState = gsConfirm)) |
650 end; |
652 end; |
651 |
653 |