Some fixes with menu-cutscenes

This commit is contained in:
Marianne Gagnon 2014-06-12 18:25:54 -04:00
parent 4ea1b7c6b1
commit bc2209284b

View File

@ -160,6 +160,7 @@ void AbstractStateManager::replaceTopMostScreen(Screen* screen)
getCurrentScreen()->tearDown();
m_menu_stack[m_menu_stack.size()-1] = name;
setGameState(MENU);
switchToScreen(name.c_str());
// Send init event to new menu