aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }