mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
fixed race name (was using internal ID as display name)
This commit is contained in:
parent
fff4bc29f4
commit
53df82e293
@ -130,7 +130,9 @@ namespace MWMechanics
|
|||||||
{
|
{
|
||||||
// basic player profile; should not change anymore after the creation phase is finished.
|
// basic player profile; should not change anymore after the creation phase is finished.
|
||||||
mEnvironment.mWindowManager->setValue ("name", mEnvironment.mWorld->getPlayerPos().getName());
|
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.mWindowManager->setValue ("class",
|
||||||
mEnvironment.mWorld->getPlayerPos().getClass().name);
|
mEnvironment.mWorld->getPlayerPos().getClass().name);
|
||||||
mUpdatePlayer = false;
|
mUpdatePlayer = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user