From a684a741eccd744e8aed39b3e83bb4966cf9ad0b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 18 May 2005 02:56:41 +0000 Subject: [PATCH] Limit to C64 maniac. svn-id: r18153 --- scumm/intern.h | 2 +- scumm/scumm.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scumm/intern.h b/scumm/intern.h index cf29868f133..04cd4c59ea6 100644 --- a/scumm/intern.h +++ b/scumm/intern.h @@ -377,7 +377,7 @@ protected: }; /** - * Engine for Commodore 64 versions of version 1 SCUMM games. + * Engine for Commodore 64 version of Maniac Mansion */ class ScummEngine_c64 : public ScummEngine_v2 { protected: diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 33d19514607..8a1c2b4bcde 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2878,8 +2878,7 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) { switch (game.version) { case 1: case 2: - // Limit to C64 MM? - if (game.platform == Common::kPlatformC64) + if (game.id == GID_MANIAC && game.platform == Common::kPlatformC64) engine = new ScummEngine_c64(detector, syst, game, md5sum); else engine = new ScummEngine_v2(detector, syst, game, md5sum);