aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xengines/hugo/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index f9800af2cc..c184000602 100755
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -309,7 +309,7 @@ void Parser::lineHandler() {
return;
}
- if (!strcmp("restore", _line) && gameStatus.viewState == V_PLAY || gameStatus.viewState == V_IDLE) {
+ if (!strcmp("restore", _line) && (gameStatus.viewState == V_PLAY || gameStatus.viewState == V_IDLE)) {
_vm.file().restoreGame(gameStatus.saveSlot);
_vm.scheduler().restoreScreen(*_vm._screen_p);
gameStatus.viewState = V_PLAY;