mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-15 22:46:36 +00:00
Merge branch 'encucumberance' into 'master'
Update encumbrance unconditionally (#8729) Closes #8729 See merge request OpenMW/openmw!4934
This commit is contained in:
commit
ef05e089ab
1 changed files with 2 additions and 1 deletions
|
@ -756,6 +756,8 @@ namespace MWGui
|
|||
|
||||
void InventoryWindow::onFrame(float dt)
|
||||
{
|
||||
updateEncumbranceBar();
|
||||
|
||||
if (mUpdateNextFrame)
|
||||
{
|
||||
if (mTrading)
|
||||
|
@ -766,7 +768,6 @@ namespace MWGui
|
|||
MWBase::Environment::get().getWindowManager()->getTradeWindow()->updateOffer();
|
||||
}
|
||||
|
||||
updateEncumbranceBar();
|
||||
mDragAndDrop->update();
|
||||
mItemView->update();
|
||||
notifyContentChanged();
|
||||
|
|
Loading…
Reference in a new issue