aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2006-04-26 00:59:13 +0000
committerEugene Sandulenko2006-04-26 00:59:13 +0000
commit35098dbd9fac1c5bc70c9711c8779b439ec6d294 (patch)
treef993191126832324c8204ebc01697d58009765a9 /engines/scumm
parentd53348797fe32ce9685a97ebca374bd08e37ea7d (diff)
downloadscummvm-rg350-35098dbd9fac1c5bc70c9711c8779b439ec6d294.tar.gz
scummvm-rg350-35098dbd9fac1c5bc70c9711c8779b439ec6d294.tar.bz2
scummvm-rg350-35098dbd9fac1c5bc70c9711c8779b439ec6d294.zip
Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
svn-id: r22165
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
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()));