aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/detection.cpp
diff options
context:
space:
mode:
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: