mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
Do not allow to use quick keys during chargen
This commit is contained in:
parent
1bddbbcfa0
commit
7cb6a9c1e9
@ -1312,6 +1312,9 @@ namespace MWInput
|
||||
if (!checkAllowedToUseItems())
|
||||
return;
|
||||
|
||||
if (MWBase::Environment::get().getWorld()->getGlobalFloat ("chargenstate")!=-1)
|
||||
return;
|
||||
|
||||
if (!MWBase::Environment::get().getWindowManager()->isGuiMode())
|
||||
MWBase::Environment::get().getWindowManager()->activateQuickKey (index);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user