[Scummvm-cvs-logs] SF.net SVN: scummvm:[55557] scummvm/trunk/engines/hugo/parser_v1w.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Thu Jan 27 00:18:27 CET 2011
Revision: 55557
http://scummvm.svn.sourceforge.net/scummvm/?rev=55557&view=rev
Author: strangerke
Date: 2011-01-26 23:18:26 +0000 (Wed, 26 Jan 2011)
Log Message:
-----------
HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions
Modified Paths:
--------------
scummvm/trunk/engines/hugo/parser_v1w.cpp
Modified: scummvm/trunk/engines/hugo/parser_v1w.cpp
===================================================================
--- scummvm/trunk/engines/hugo/parser_v1w.cpp 2011-01-26 22:50:36 UTC (rev 55556)
+++ scummvm/trunk/engines/hugo/parser_v1w.cpp 2011-01-26 23:18:26 UTC (rev 55557)
@@ -118,7 +118,8 @@
// 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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list