Fixed birthsign and skill list in review dialog, they were not properly set.

This commit is contained in:
Jan Borsodi 2010-10-21 09:47:34 +02:00
parent 970a7a3498
commit 3e5f278882

View file

@ -231,6 +231,8 @@ void WindowManager::updateVisible()
reviewDialog->configureSkills(playerMajorSkills, playerMinorSkills);
}
reviewDialog->updateSkillArea();
reviewDialog->eventDone = MyGUI::newDelegate(this, &WindowManager::onReviewDialogDone);
reviewDialog->eventBack = MyGUI::newDelegate(this, &WindowManager::onReviewDialogBack);
reviewDialog->setVisible(true);
@ -381,6 +383,7 @@ void WindowManager::setFactions (const FactionList& factions)
void WindowManager::setBirthSign (const std::string &signId)
{
stats->setBirthSign (signId);
playerBirthSignId = signId;
}
void WindowManager::setReputation (int reputation)