1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-15 21:16:33 +00:00

Merge branch 'encucumberance' into 'master'

Update encumbrance unconditionally (#8729)

Closes #8729

See merge request OpenMW/openmw!4934
This commit is contained in:
Alexei Kotov 2025-10-04 11:14:35 +03:00
commit ef05e089ab

View file

@ -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();