aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/menu.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-04-18 11:20:05 +0000
committerPaul Gilbert2009-04-18 11:20:05 +0000
commit9efb96ce6957c4a22e1c0754fcb2857c12817119 (patch)
treed3082c5221474f4b80f16a5c03a0cc1e207c6daf /engines/cruise/menu.cpp
parent15252ad83c49c0246fabb24856c02fb6bb81ced5 (diff)
downloadscummvm-rg350-9efb96ce6957c4a22e1c0754fcb2857c12817119.tar.gz
scummvm-rg350-9efb96ce6957c4a22e1c0754fcb2857c12817119.tar.bz2
scummvm-rg350-9efb96ce6957c4a22e1c0754fcb2857c12817119.zip
Changed the 'Exit' game menu option to exit gracefully, rather than using exit()
svn-id: r39980
Diffstat (limited to 'engines/cruise/menu.cpp')
-rw-r--r--engines/cruise/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp
index f3b9df49a9..7c293525a4 100644
--- a/engines/cruise/menu.cpp
+++ b/engines/cruise/menu.cpp
@@ -263,7 +263,7 @@ int playerMenu(int menuX, int menuY) {
case 6: // restart
break;
case 7: // exit
- exit(0);
+ return 1;
break;
}
}