1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

[Client] Add updateInventoryWindow() method to LocalPlayer

This commit is contained in:
David Cernat 2019-06-09 00:59:33 +03:00
parent 49fa35a516
commit 01804af100
2 changed files with 7 additions and 1 deletions

View file

@ -708,7 +708,7 @@ void LocalPlayer::addItems()
}
}
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
updateInventoryWindow();
}
void LocalPlayer::addSpells()
@ -864,6 +864,11 @@ void LocalPlayer::closeInventoryWindows()
MWBase::Environment::get().getWindowManager()->finishDragDrop();
}
void LocalPlayer::updateInventoryWindow()
{
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->updateItemView();
}
void LocalPlayer::setCharacter()
{
receivedCharacter = true;

View file

@ -52,6 +52,7 @@ namespace mwmp
void resurrect();
void closeInventoryWindows();
void updateInventoryWindow();
void setCharacter();
void setDynamicStats();