Apply patch by steelstyle to not hide mouse in overworld when closing a dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8111440317
commit
3d6f24544e
@ -190,7 +190,8 @@ void StateManager::onGameStateChange(GameState new_state)
|
||||
{
|
||||
if (new_state == GAME)
|
||||
{
|
||||
irr_driver->hidePointer();
|
||||
if (race_manager->getMinorMode() != RaceManager::MINOR_MODE_OVERWORLD)
|
||||
irr_driver->hidePointer();
|
||||
input_manager->setMode(InputManager::INGAME);
|
||||
}
|
||||
else // menu (including in-game menu)
|
||||
|
Loading…
Reference in New Issue
Block a user