mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 12:35:46 +00:00
Merge remote-tracking branch 'scrawl/activation' into next
This commit is contained in:
commit
0ec919dd36
@ -180,12 +180,12 @@ namespace MWInput
|
|||||||
break;
|
break;
|
||||||
case A_Activate:
|
case A_Activate:
|
||||||
resetIdleTime();
|
resetIdleTime();
|
||||||
activate();
|
|
||||||
if( MWBase::Environment::get().getWindowManager()->isGuiMode()
|
if( MWBase::Environment::get().getWindowManager()->isGuiMode()
|
||||||
&& MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_InterMessageBox ) {
|
&& MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_InterMessageBox ) {
|
||||||
// Pressing the activation key when a messagebox is prompting for "ok" will activate the ok button
|
// Pressing the activation key when a messagebox is prompting for "ok" will activate the ok button
|
||||||
MWBase::Environment::get().getWindowManager()->enterPressed();
|
MWBase::Environment::get().getWindowManager()->enterPressed();
|
||||||
}
|
}
|
||||||
|
activate();
|
||||||
break;
|
break;
|
||||||
case A_Journal:
|
case A_Journal:
|
||||||
toggleJournal ();
|
toggleJournal ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user