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:
parent
52d2f2a6ed
commit
d7e33428f9
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