Made sure review dialog is removed before going to previous dialogs.

actorid
Jan Borsodi 14 years ago
parent 1c6b9a9b7b
commit a0447bcd95

@ -787,24 +787,36 @@ void WindowManager::onReviewDialogBack()
void WindowManager::onNameDialogActivate()
{
if (reviewDialog)
removeDialog(reviewDialog);
reviewNext = true;
setGuiMode(GM_Name);
}
void WindowManager::onRaceDialogActivate()
{
if (reviewDialog)
removeDialog(reviewDialog);
reviewNext = true;
setGuiMode(GM_Race);
}
void WindowManager::onClassDialogActivate()
{
if (reviewDialog)
removeDialog(reviewDialog);
reviewNext = true;
setGuiMode(GM_Class);
}
void WindowManager::onBirthSignDialogActivate()
{
if (reviewDialog)
removeDialog(reviewDialog);
reviewNext = true;
setGuiMode(GM_Birth);
}

Loading…
Cancel
Save