Merge remote-tracking branch 'puppykevin/master'

This commit is contained in:
Marc Zinnschlag 2014-05-30 11:42:19 +02:00
commit f5e587f566
2 changed files with 24 additions and 24 deletions

View file

@ -252,7 +252,6 @@ namespace MWWorld
mProjectileManager->clear();
mLocalScripts.clear();
mPlayer->clear();
mWorldScene->changeToVoid();
@ -261,6 +260,7 @@ namespace MWWorld
if (mPlayer)
{
mPlayer->clear();
mPlayer->setCell(0);
mPlayer->getPlayer().getRefData() = RefData();
mPlayer->set(mStore.get<ESM::NPC>().find ("player"));

View file

@ -22,6 +22,7 @@ void Clothing::load(ESMReader &esm)
mEnchant = esm.getHNOString("ENAM");
}
void Clothing::save(ESMWriter &esm) const
{
esm.writeHNCString("MODL", mModel);
@ -46,7 +47,6 @@ void Clothing::save(ESMWriter &esm) const
mName.clear();
mModel.clear();
mIcon.clear();
mIcon.clear();
mEnchant.clear();
mScript.clear();
}