forked from teamnwah/openmw-tes3coop
fixed race name (was using internal ID as display name)
This commit is contained in:
parent
fff4bc29f4
commit
53df82e293
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,9 @@ namespace MWMechanics
|
|||
{
|
||||
// basic player profile; should not change anymore after the creation phase is finished.
|
||||
mEnvironment.mWindowManager->setValue ("name", mEnvironment.mWorld->getPlayerPos().getName());
|
||||
mEnvironment.mWindowManager->setValue ("race", mEnvironment.mWorld->getPlayerPos().getRace());
|
||||
mEnvironment.mWindowManager->setValue ("race",
|
||||
mEnvironment.mWorld->getStore().races.find (mEnvironment.mWorld->getPlayerPos().
|
||||
getRace())->name);
|
||||
mEnvironment.mWindowManager->setValue ("class",
|
||||
mEnvironment.mWorld->getPlayerPos().getClass().name);
|
||||
mUpdatePlayer = false;
|
||||
|
|
Loading…
Reference in a new issue