1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-02-07 18:28:25 +00:00

Update encumbrance unconditionally (#8729)

Closes #8729

See merge request OpenMW/openmw!4934

(cherry-picked from ef05e089ab)
This commit is contained in:
Alexei Kotov 2025-10-04 11:14:35 +03:00
parent 52d2f2a6ed
commit d7e33428f9

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