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:
commit
e2b8f9ea6d
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue