diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index d35847f3b0..f396157a40 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -236,7 +236,6 @@ namespace MWWorld // Rebuild player setupPlayer(); - const ESM::NPC* playerNpc = mStore.get().find("player"); MWWorld::Ptr player = mPlayer->getPlayer(); renderPlayer(); 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 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(); ESM::Position pos;