1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 08:15:35 +00:00

When a dialog is done and no new is to be shown we return to Game mode.

This commit is contained in:
Jan Borsodi 2010-09-15 13:10:47 +02:00
parent 850b8eb6a7
commit 3f1b90e732

View file

@ -192,6 +192,8 @@ void WindowManager::onNameDialogDone()
setMode(GM_Review);
else if (goNext)
setMode(GM_Race);
else
setMode(GM_Game);
}
void WindowManager::onRaceDialogDone()
@ -212,6 +214,8 @@ void WindowManager::onRaceDialogDone()
setMode(GM_Review);
else if (goNext)
setMode(GM_Class);
else
setMode(GM_Game);
}
void WindowManager::onRaceDialogBack()