mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Fix player setup bug
This commit is contained in:
parent
7bacb9418d
commit
cc6d5a3ba0
1 changed files with 1 additions and 0 deletions
|
@ -2092,6 +2092,7 @@ namespace MWWorld
|
||||||
scaleObject(getPlayerPtr(), 1.f); // apply race height
|
scaleObject(getPlayerPtr(), 1.f); // apply race height
|
||||||
|
|
||||||
MWBase::Environment::get().getMechanicsManager()->add(getPlayerPtr());
|
MWBase::Environment::get().getMechanicsManager()->add(getPlayerPtr());
|
||||||
|
MWBase::Environment::get().getMechanicsManager()->watchActor(getPlayerPtr());
|
||||||
|
|
||||||
std::string model = getPlayerPtr().getClass().getModel(getPlayerPtr());
|
std::string model = getPlayerPtr().getClass().getModel(getPlayerPtr());
|
||||||
model = Misc::ResourceHelpers::correctActorModelPath(model, mResourceSystem->getVFS());
|
model = Misc::ResourceHelpers::correctActorModelPath(model, mResourceSystem->getVFS());
|
||||||
|
|
Loading…
Reference in a new issue