aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-05-18 02:56:41 +0000
committerTravis Howell2005-05-18 02:56:41 +0000
commita684a741eccd744e8aed39b3e83bb4966cf9ad0b (patch)
tree503c80e71ac8300c8e61e6bab82f148fa9fc1d76 /scumm
parentee6733519764a863e7542ad525669264fdd31fe6 (diff)
downloadscummvm-rg350-a684a741eccd744e8aed39b3e83bb4966cf9ad0b.tar.gz
scummvm-rg350-a684a741eccd744e8aed39b3e83bb4966cf9ad0b.tar.bz2
scummvm-rg350-a684a741eccd744e8aed39b3e83bb4966cf9ad0b.zip
Limit to C64 maniac.
svn-id: r18153
Diffstat (limited to 'scumm')
-rw-r--r--scumm/intern.h2
-rw-r--r--scumm/scumm.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/scumm/intern.h b/scumm/intern.h
index cf29868f13..04cd4c59ea 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 33d1951460..8a1c2b4bcd 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);