aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/wage.cpp5
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("");
}