1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00

Clear selected spell when window manager is cleared

This commit is contained in:
MiroslavR 2014-07-20 13:07:47 +02:00
parent d5381e1bc4
commit 0f2305ae43

View File

@ -1529,6 +1529,8 @@ namespace MWGui
mCompanionWindow->resetReference();
mConsole->resetReference();
mSelectedSpell.clear();
mGuiModes.clear();
MWBase::Environment::get().getInputManager()->changeInputMode(false);
updateVisible();