HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions
svn-id: r55557
This commit is contained in:
parent
dc31f4b3e2
commit
b7a8444992
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue