Call setPlayerClass when the class has been chosen.

actorid
Jan Borsodi 14 years ago
parent cd3e976b7c
commit 404aacae1b

@ -326,7 +326,7 @@ void WindowManager::onPickClassDialogDone()
if (pickClassDialog)
{
pickClassDialog->setVisible(false);
//environment.mMechanicsManager->setPlayerClass(pickClassDialog->getClassId());
environment.mMechanicsManager->setPlayerClass(pickClassDialog->getClassId());
}
updateCharacterGeneration();
@ -344,7 +344,7 @@ void WindowManager::onPickClassDialogBack()
if (pickClassDialog)
{
pickClassDialog->setVisible(false);
//environment.mMechanicsManager->setPlayerClass(pickClassDialog->getClassId());
environment.mMechanicsManager->setPlayerClass(pickClassDialog->getClassId());
}
updateCharacterGeneration();

Loading…
Cancel
Save