aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-09-24 03:41:45 +0000
committerTravis Howell2009-09-24 03:41:45 +0000
commit48cce58ab52abccbd7df7665d70a551ddfcca989 (patch)
tree90ce2cd367d9d3b15cf4fb396ef5c5e3ef38907c /engines/agos/detection.cpp
parent2c438b43045484ffa7c2bcc6db7c6f4b4cc28be4 (diff)
downloadscummvm-rg350-48cce58ab52abccbd7df7665d70a551ddfcca989.tar.gz
scummvm-rg350-48cce58ab52abccbd7df7665d70a551ddfcca989.tar.bz2
scummvm-rg350-48cce58ab52abccbd7df7665d70a551ddfcca989.zip
Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games.
svn-id: r44285
Diffstat (limited to 'engines/agos/detection.cpp')
-rw-r--r--engines/agos/detection.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/agos/detection.cpp b/engines/agos/detection.cpp
index 6f128a5a1b..d4eaa03ca9 100644
--- a/engines/agos/detection.cpp
+++ b/engines/agos/detection.cpp
@@ -166,7 +166,10 @@ bool AgosMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame
*engine = new AGOS::AGOSEngine_Feeble(syst);
break;
case AGOS::GType_PP:
- *engine = new AGOS::AGOSEngine_PuzzlePack(syst);
+ if (gd->gameId == GID_DIMP)
+ *engine = new AGOS::AGOSEngine_DIMP(syst);
+ else
+ *engine = new AGOS::AGOSEngine_PuzzlePack(syst);
break;
#endif
default: