Skip to content

Commit

Permalink
WAGE: Fix input string after script execution
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Feb 15, 2016
1 parent f06263a commit 2753571
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engines/wage/wage.cpp
Expand Up @@ -171,8 +171,6 @@ void WageEngine::processEvents() {
break;

processTurn(&_inputText, NULL);
_inputText.clear();
_gui->appendText("");
_gui->disableUndo();
break;

Expand Down Expand Up @@ -498,6 +496,9 @@ void WageEngine::processTurn(Common::String *textInput, Designed *clickInput) {
if (!_commandWasQuick && getMonster() != NULL) {
performCombatAction(getMonster(), _world->_player);
}

_inputText.clear();
_gui->appendText("");
}


Expand Down

0 comments on commit 2753571

Please sign in to comment.