Fix pinned windows not being updated

pull/303/head
scrawl 7 years ago
parent 49a0922f1b
commit e4f0f7157a

@ -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…
Cancel
Save