mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Crash fix
This commit is contained in:
parent
1699759d12
commit
27cfe8fb58
1 changed files with 2 additions and 0 deletions
|
@ -587,10 +587,12 @@ void MWWorld::InventoryStore::fireEquipmentChangedEvent(const Ptr& actor)
|
|||
mListener->equipmentChanged();
|
||||
|
||||
// if player, update inventory window
|
||||
/*
|
||||
if (actor == MWBase::Environment::get().getWorld()->getPlayerPtr())
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void MWWorld::InventoryStore::visitEffectSources(MWMechanics::EffectSourceVisitor &visitor)
|
||||
|
|
Loading…
Reference in a new issue