mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 03:54:40 +00:00
Fix containers showing random items from my commit earlier
This commit is contained in:
parent
ca81335319
commit
3cadb5918f
@ -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 New Issue
Block a user