From: gooddoog Date: Mon, 23 Dec 2019 19:39:31 +0000 (+0300) Subject: (#1189) Reset cursor style on switching game state X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=78dfd4f4419a5739b4def9a8b3b1b9e4b6fe5c38;p=nothing.git (#1189) Reset cursor style on switching game state --- diff --git a/src/game.c b/src/game.c index 43767df5..f9bba030 100644 --- a/src/game.c +++ b/src/game.c @@ -40,6 +40,7 @@ typedef struct Game { void game_switch_state(Game *game, Game_state state) { + game->cursor.style = CURSOR_STYLE_POINTER; if (state == GAME_STATE_LEVEL_PICKER) { level_picker_clean_selection(&game->level_picker); }