Merge remote-tracking branch 'scrawl/master'

pull/16/head
Marc Zinnschlag 12 years ago
commit e2b8f9ea6d

@ -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, "");
}

@ -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();

Loading…
Cancel
Save