aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-26 01:09:31 +0000
committerEugene Sandulenko2006-04-26 01:09:31 +0000
commit9aec81802d709c0f4e329b1ed7a30afa775462d2 (patch)
treeea6a3ce604ca9db56a024b0c7e1c9165795e209d
parent35098dbd9fac1c5bc70c9711c8779b439ec6d294 (diff)
downloadscummvm-rg350-9aec81802d709c0f4e329b1ed7a30afa775462d2.tar.gz
scummvm-rg350-9aec81802d709c0f4e329b1ed7a30afa775462d2.tar.bz2
scummvm-rg350-9aec81802d709c0f4e329b1ed7a30afa775462d2.zip
Return correct value from Engine_Empty::init() method.
svn-id: r22166
-rw-r--r--base/engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/engine.h b/base/engine.h
index 73d1a9cd3b..49515bd40a 100644
--- a/base/engine.h
+++ b/base/engine.h
@@ -89,8 +89,8 @@ public:
Engine_Empty(OSystem *syst, const Common::String msg = "No valid games were found in specified directory.");
virtual ~Engine_Empty() {}
- // Displays error message
- int init() { GUIErrorMessage(_message); return 0; }
+ // Displays error message and do not run go() method
+ int init() { GUIErrorMessage(_message); return 1; }
// Just indicate that we want return to launcher
int go() { return 1; }