forked from mirror/openmw-tes3mp
Fix containers showing random items from my commit earlier
This commit is contained in:
parent
ca81335319
commit
3cadb5918f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue