Limit to C64 maniac.

svn-id: r18153
This commit is contained in:
Travis Howell 2005-05-18 02:56:41 +00:00
parent ee67335197
commit a684a741ec
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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);