aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/parser.cpp')
-rw-r--r--engines/avalanche/parser.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp
index fca29adace..5a23a24e69 100644
--- a/engines/avalanche/parser.cpp
+++ b/engines/avalanche/parser.cpp
@@ -75,10 +75,11 @@ void Parser::handleReturn() {
else {
_vm->_logger->log_command(_inputText);
- if (!_inputText.empty())
+ if (!_inputText.empty()) {
_inputTextBackup = _inputText;
- _vm->_acci->parse();
- _vm->_acci->do_that();
+ _vm->_acci->parse();
+ _vm->_acci->do_that();
+ }
}
}