From c3d987e4fb01a407ab53f8eaeaefeb012889af4b Mon Sep 17 00:00:00 2001 From: coz Date: Sat, 28 Jul 2007 17:27:56 +0000 Subject: [PATCH] Fixes pointer dissapearing after exiting the race through the race menu. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1190 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/gui/race_menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/race_menu.cpp b/src/gui/race_menu.cpp index 17d3d9a2e..e54e8d2ec 100644 --- a/src/gui/race_menu.cpp +++ b/src/gui/race_menu.cpp @@ -65,8 +65,6 @@ RaceMenu::RaceMenu() RaceMenu::~RaceMenu() { widgetSet -> delete_widget(m_menu_id) ; - - if(user_config->m_fullscreen) SDL_ShowCursor(SDL_DISABLE); } //----------------------------------------------------------------------------- @@ -86,6 +84,7 @@ void RaceMenu::select() case WTOK_RETURN_RACE: world->unpause(); menu_manager->popMenu(); + if(user_config->m_fullscreen) SDL_ShowCursor(SDL_DISABLE); break; case WTOK_SETUP_NEW_RACE: @@ -97,6 +96,7 @@ void RaceMenu::select() case WTOK_RESTART_RACE: world->unpause(); menu_manager->popMenu(); + if(user_config->m_fullscreen) SDL_ShowCursor(SDL_DISABLE); world->restartRace(); break;