diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hugo/parser_v1w.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hugo/parser_v1w.cpp b/engines/hugo/parser_v1w.cpp index 40366f6f48..65d1d4c884 100644 --- a/engines/hugo/parser_v1w.cpp +++ b/engines/hugo/parser_v1w.cpp @@ -118,7 +118,8 @@ void Parser_v1w::lineHandler() { // Special meta commands // EXIT/QUIT if (!strcmp("exit", _vm->_line) || strstr(_vm->_line, "quit")) { - Utils::Box(kBoxAny, "%s", _vm->_text->getTextParser(kTBExit)); + if (Utils::Box(kBoxYesNo, "%s", _vm->_text->getTextParser(kTBExit_1d)) != 0) + _vm->endGame(); return; } |