1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 21:19:55 +00:00

Merge remote-tracking branch 'scrawl/master'

This commit is contained in:
Marc Zinnschlag 2013-05-17 14:37:41 +02:00
commit e2b8f9ea6d
2 changed files with 2 additions and 2 deletions

View file

@ -404,8 +404,8 @@ namespace MWClass
{
return std::make_pair (2, "");
}
return std::make_pair (1, "");
}
return std::make_pair(1, "");
}
return std::make_pair (0, "");
}

View file

@ -201,7 +201,7 @@ namespace MWGui
{
mPtr = container;
if (!loot)
if (mPtr.getTypeName() == typeid(ESM::NPC).name() && !loot)
{
// we are stealing stuff
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();