aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-01-30 22:32:51 +0000
committerEugene Sandulenko2007-01-30 22:32:51 +0000
commit3766e0a77df3839c1622b254390e665c009d4b74 (patch)
tree17531bb1363ab2c275fc4253782a75914b944e4c /engines/gob/gob.cpp
parentf395822aa682da27deb23f16c1ab08e57b5718e5 (diff)
downloadscummvm-rg350-3766e0a77df3839c1622b254390e665c009d4b74.tar.gz
scummvm-rg350-3766e0a77df3839c1622b254390e665c009d4b74.tar.bz2
scummvm-rg350-3766e0a77df3839c1622b254390e665c009d4b74.zip
eplaced platform-specific game features with common platform setting.
svn-id: r25294
Diffstat (limited to 'engines/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 90ca277a9e..c4dc5b1afb 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -614,8 +614,8 @@ int GobEngine::init() {
else
error("GobEngine::init(): Unknown version of game engine");
_noMusic = MidiDriver::parseMusicDriver(ConfMan.get("music_driver")) == MD_NULL;
- if (!_noMusic && !(_features & Gob::GF_AMIGA) &&
- (((_features & Gob::GF_MAC) && (_features & Gob::GF_GOB1)) ||
+ if (!_noMusic && !(_platform == Common::kPlatformAmiga) &&
+ (((_platform == Common::kPlatformMacintosh) && (_features & Gob::GF_GOB1)) ||
(_features & Gob::GF_GOB2)))
_adlib = new Adlib(this);
_vm = this;