Fix player setup bug

This commit is contained in:
scrawl 2015-06-03 19:44:21 +02:00
parent 7bacb9418d
commit cc6d5a3ba0

View file

@ -2092,6 +2092,7 @@ namespace MWWorld
scaleObject(getPlayerPtr(), 1.f); // apply race height
MWBase::Environment::get().getMechanicsManager()->add(getPlayerPtr());
MWBase::Environment::get().getMechanicsManager()->watchActor(getPlayerPtr());
std::string model = getPlayerPtr().getClass().getModel(getPlayerPtr());
model = Misc::ResourceHelpers::correctActorModelPath(model, mResourceSystem->getVFS());