diff options
author | Eugene Sandulenko | 2016-02-15 19:25:33 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-15 21:06:46 +0100 |
commit | 2753571155b06f142a2182265619891b1425931f (patch) | |
tree | 2b6d52298ad1c769934e78a85482f0c34075de5c /engines/wage/wage.cpp | |
parent | f06263a1d0835e2f890478577b268132691fe4f7 (diff) | |
download | scummvm-rg350-2753571155b06f142a2182265619891b1425931f.tar.gz scummvm-rg350-2753571155b06f142a2182265619891b1425931f.tar.bz2 scummvm-rg350-2753571155b06f142a2182265619891b1425931f.zip |
WAGE: Fix input string after script execution
Diffstat (limited to 'engines/wage/wage.cpp')
-rw-r--r-- | engines/wage/wage.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index fba340efaa..ffdd8a22cb 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -171,8 +171,6 @@ void WageEngine::processEvents() { break; processTurn(&_inputText, NULL); - _inputText.clear(); - _gui->appendText(""); _gui->disableUndo(); break; @@ -498,6 +496,9 @@ void WageEngine::processTurn(Common::String *textInput, Designed *clickInput) { if (!_commandWasQuick && getMonster() != NULL) { performCombatAction(getMonster(), _world->_player); } + + _inputText.clear(); + _gui->appendText(""); } |