diff options
author | Paul Gilbert | 2009-04-18 11:20:05 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-04-18 11:20:05 +0000 |
commit | 9efb96ce6957c4a22e1c0754fcb2857c12817119 (patch) | |
tree | d3082c5221474f4b80f16a5c03a0cc1e207c6daf | |
parent | 15252ad83c49c0246fabb24856c02fb6bb81ced5 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/cruise/menu.cpp | 2 |
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; } } |