diff options
author | Eugene Sandulenko | 2016-01-04 00:21:31 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-01-04 00:21:31 +0100 |
commit | 1b0d6a43048d7497bb6200b35974053693616890 (patch) | |
tree | 4f3e3ff612989218882154ee1510a47397e9d7c7 /engines | |
parent | 44582b503abb4ebcf7d50badada0d10123483a87 (diff) | |
download | scummvm-rg350-1b0d6a43048d7497bb6200b35974053693616890.tar.gz scummvm-rg350-1b0d6a43048d7497bb6200b35974053693616890.tar.bz2 scummvm-rg350-1b0d6a43048d7497bb6200b35974053693616890.zip |
WAGE: Implement command execution
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/wage.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 9a320a2efd..26785b5993 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -168,6 +168,13 @@ void WageEngine::processEvents() { } break; + case Common::KEYCODE_RETURN: + _gui->appendText(_inputText); + processTurn(&_inputText, NULL); + _inputText = ""; + _gui->drawInput(); + break; + default: if (event.kbd.flags & Common::KBD_ALT || event.kbd.flags & Common::KBD_CTRL) { warning("STUB: Shortcuts"); |