mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Merge remote-tracking branch 'scrawl/master'
This commit is contained in:
commit
24273f338b
1 changed files with 0 additions and 4 deletions
|
@ -236,7 +236,6 @@ namespace MWWorld
|
||||||
|
|
||||||
// Rebuild player
|
// Rebuild player
|
||||||
setupPlayer();
|
setupPlayer();
|
||||||
const ESM::NPC* playerNpc = mStore.get<ESM::NPC>().find("player");
|
|
||||||
MWWorld::Ptr player = mPlayer->getPlayer();
|
MWWorld::Ptr player = mPlayer->getPlayer();
|
||||||
renderPlayer();
|
renderPlayer();
|
||||||
mRendering->resetCamera();
|
mRendering->resetCamera();
|
||||||
|
@ -247,9 +246,6 @@ namespace MWWorld
|
||||||
// make sure to do this so that local scripts from items that were in the players inventory are removed
|
// make sure to do this so that local scripts from items that were in the players inventory are removed
|
||||||
mLocalScripts.clear();
|
mLocalScripts.clear();
|
||||||
|
|
||||||
MWWorld::Class::get(player).getContainerStore(player).fill(playerNpc->mInventory, "", mStore);
|
|
||||||
MWWorld::Class::get(player).getInventoryStore(player).autoEquip(player);
|
|
||||||
|
|
||||||
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
MWBase::Environment::get().getWindowManager()->updatePlayer();
|
||||||
|
|
||||||
ESM::Position pos;
|
ESM::Position pos;
|
||||||
|
|
Loading…
Reference in a new issue