Fix tooltips showing when cursor isn't visible

new-script-api
scrawl 7 years ago
parent 14c9e858c8
commit 7bb0a76df2

@ -97,6 +97,8 @@ namespace MWGui
if (guiMode)
{
if (!MWBase::Environment::get().getWindowManager()->getCursorVisible())
return;
const MyGUI::IntPoint& mousePos = MyGUI::InputManager::getInstance().getMousePosition();
if (MWBase::Environment::get().getWindowManager()->getWorldMouseOver() && ((MWBase::Environment::get().getWindowManager()->getMode() == GM_Console)

Loading…
Cancel
Save