HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions

svn-id: r55557
This commit is contained in:
Arnaud Boutonné 2011-01-26 23:18:26 +00:00
parent dc31f4b3e2
commit b7a8444992

View file

@ -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;
}