From b7a8444992b8f17ea553f9e2a2c7a9989e4f0ad6 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Wed, 26 Jan 2011 23:18:26 +0000 Subject: HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions svn-id: r55557 --- engines/hugo/parser_v1w.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3