mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 17:15:32 +00:00
Don't assume that class ID and name are equal
This commit is contained in:
parent
90cc1de46c
commit
e381957105
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ namespace MWGui
|
|||
mPickClassDialog = 0;
|
||||
mPickClassDialog = new PickClassDialog();
|
||||
mPickClassDialog->setNextButtonShow(mCreationStage >= CSE_ClassChosen);
|
||||
mPickClassDialog->setClassId(mPlayerClass.mName);
|
||||
mPickClassDialog->setClassId(mPlayerClass.mId);
|
||||
mPickClassDialog->eventDone += MyGUI::newDelegate(this, &CharacterCreation::onPickClassDialogDone);
|
||||
mPickClassDialog->eventBack += MyGUI::newDelegate(this, &CharacterCreation::onPickClassDialogBack);
|
||||
mPickClassDialog->setVisible(true);
|
||||
|
|
Loading…
Reference in a new issue