aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorChristopher Page2008-06-24 21:15:30 +0000
committerChristopher Page2008-06-24 21:15:30 +0000
commitf878820bbee1e7e4659ca601872674082334fa63 (patch)
treed1b05985a2b1758e8648fe86a64a5ef2562f1765 /base
parent65abece4c67c4fb574caac717fff24bfb5f31d69 (diff)
downloadscummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.tar.gz
scummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.tar.bz2
scummvm-rg350-f878820bbee1e7e4659ca601872674082334fa63.zip
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
svn-id: r32770
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp
index dbf740c2ec..b4b075a415 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -229,8 +229,8 @@ static int runGame(const EnginePlugin *plugin, OSystem &system, const Common::St
Common::File::resetDefaultDirectories();
-
- return 1; // Changing from return 0, in order to return to launcher
+ // If result=1 return to the launcher, else quit ScummVM
+ return result;
}