mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
WAGE: Fake input text when using shortcuts
This commit is contained in:
parent
78ed19d429
commit
59bc70299e
@ -278,10 +278,17 @@ void Gui::executeMenuCommand(int action, Common::String &text) {
|
||||
actionClear();
|
||||
break;
|
||||
|
||||
case kMenuActionCommand:
|
||||
_engine->processTurn(&text, NULL);
|
||||
break;
|
||||
case kMenuActionCommand: {
|
||||
_engine->_inputText = text;
|
||||
Common::String inp = text + '\n';
|
||||
|
||||
appendText(inp.c_str());
|
||||
|
||||
_consoleWindow->clearInput();
|
||||
|
||||
_engine->processTurn(&text, NULL);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
warning("Unknown action: %d", action);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user