From 35098dbd9fac1c5bc70c9711c8779b439ec6d294 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Apr 2006 00:59:13 +0000 Subject: Introduce and use Engine_Empty() and Engine::GUIErrorMessage() svn-id: r22165 --- engines/scumm/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index 4703bf2ab0..e3000cb4fe 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1314,7 +1314,7 @@ Engine *Engine_SCUMM_create(OSystem *syst) { // Unable to locate game data if (results.empty()) { warning("ScummEngine: unable to locate game data"); - return 0; + return new Engine_Empty(syst); } DetectorResult res(*(results.begin())); -- cgit v1.2.3