diff options
author | Travis Howell | 2009-09-24 03:41:45 +0000 |
---|---|---|
committer | Travis Howell | 2009-09-24 03:41:45 +0000 |
commit | 48cce58ab52abccbd7df7665d70a551ddfcca989 (patch) | |
tree | 90ce2cd367d9d3b15cf4fb396ef5c5e3ef38907c /engines/agos/detection.cpp | |
parent | 2c438b43045484ffa7c2bcc6db7c6f4b4cc28be4 (diff) | |
download | scummvm-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.cpp | 5 |
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: |