forked from teamnwah/openmw-tes3coop
Fix pinned windows not being updated
This commit is contained in:
parent
49a0922f1b
commit
e4f0f7157a
1 changed files with 8 additions and 0 deletions
|
@ -864,6 +864,14 @@ namespace MWGui
|
|||
for (WindowBase* window : state.mWindows)
|
||||
window->onFrame(frameDuration);
|
||||
}
|
||||
else
|
||||
{
|
||||
// update pinned windows if visible
|
||||
for (WindowBase* window : mGuiModeStates[GM_Inventory].mWindows)
|
||||
if (window->isVisible())
|
||||
window->onFrame(frameDuration);
|
||||
}
|
||||
|
||||
if (!mCurrentModals.empty())
|
||||
mCurrentModals.back()->onFrame(frameDuration);
|
||||
|
||||
|
|
Loading…
Reference in a new issue