forked from mirror/openmw-tes3mp
Fix message boxes not opening if they opened as a result of object activation
This commit is contained in:
parent
73278edf7e
commit
beab20cb42
1 changed files with 1 additions and 1 deletions
|
@ -180,12 +180,12 @@ namespace MWInput
|
|||
break;
|
||||
case A_Activate:
|
||||
resetIdleTime();
|
||||
activate();
|
||||
if( MWBase::Environment::get().getWindowManager()->isGuiMode()
|
||||
&& MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_InterMessageBox ) {
|
||||
// Pressing the activation key when a messagebox is prompting for "ok" will activate the ok button
|
||||
MWBase::Environment::get().getWindowManager()->enterPressed();
|
||||
}
|
||||
activate();
|
||||
break;
|
||||
case A_Journal:
|
||||
toggleJournal ();
|
||||
|
|
Loading…
Reference in a new issue