diff options
author | Max Horn | 2011-05-23 19:20:56 +0200 |
---|---|---|
committer | Max Horn | 2011-05-23 19:39:26 +0200 |
commit | 6c5f50c246062bcb50a20efe7951be7e23449ca0 (patch) | |
tree | 9d8bb0bbb869fac5ba1387d90894fee50c8325ea /engines/sci/console.cpp | |
parent | 20cad6e8b6fe9ae843245697e872256c4ca1e545 (diff) | |
download | scummvm-rg350-6c5f50c246062bcb50a20efe7951be7e23449ca0.tar.gz scummvm-rg350-6c5f50c246062bcb50a20efe7951be7e23449ca0.tar.bz2 scummvm-rg350-6c5f50c246062bcb50a20efe7951be7e23449ca0.zip |
COMMON: Add exit() to list of forbidden symbols
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 5f5af195b5..e6b5c3c1d4 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -3372,7 +3372,7 @@ bool Console::cmdQuit(int argc, const char **argv) { } else if (!scumm_stricmp(argv[1], "now")) { // Quit ungracefully - exit(0); + g_system->quit(); } return Cmd_Exit(0, 0); |