From 2753571155b06f142a2182265619891b1425931f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 15 Feb 2016 19:25:33 +0100 Subject: WAGE: Fix input string after script execution --- engines/wage/wage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/wage/wage.cpp') 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(""); } -- cgit v1.2.3