From 48cce58ab52abccbd7df7665d70a551ddfcca989 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 24 Sep 2009 03:41:45 +0000 Subject: Split the script opcode table for DIMP, since it doesn't match(ie timers) other Puzzle Pack games. svn-id: r44285 --- engines/agos/detection.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/agos/detection.cpp') 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: -- cgit v1.2.3