From 9aec81802d709c0f4e329b1ed7a30afa775462d2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Apr 2006 01:09:31 +0000 Subject: Return correct value from Engine_Empty::init() method. svn-id: r22166 --- base/engine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') 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; } -- cgit v1.2.3