aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-18 21:56:09 +0000
committerJohannes Schickel2009-05-18 21:56:09 +0000
commit29cf3ed1a43b76ed2bd6da2c24261ce0375f8a50 (patch)
tree184fab2f23d32f0b102d534723ef29d7ece6c03f /engines/kyra
parent273b93f3a7edfc641b0756b807ac512b3d97f96b (diff)
downloadscummvm-rg350-29cf3ed1a43b76ed2bd6da2c24261ce0375f8a50.tar.gz
scummvm-rg350-29cf3ed1a43b76ed2bd6da2c24261ce0375f8a50.tar.bz2
scummvm-rg350-29cf3ed1a43b76ed2bd6da2c24261ce0375f8a50.zip
Add support for music in the LoL intro demo.
svn-id: r40706
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/sound_adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index 88e0219f1b..d3dfd2b6af 100644
--- a/engines/kyra/sound_adlib.cpp
+++ b/engines/kyra/sound_adlib.cpp
@@ -2220,7 +2220,7 @@ const int SoundAdlibPC::_kyra1NumSoundTriggers = ARRAYSIZE(SoundAdlibPC::_kyra1S
SoundAdlibPC::SoundAdlibPC(KyraEngine_v1 *vm, Audio::Mixer *mixer)
: Sound(vm, mixer), _driver(0), _trackEntries(), _soundDataPtr(0) {
memset(_trackEntries, 0, sizeof(_trackEntries));
- _v2 = (_vm->gameFlags().gameID == GI_KYRA2) || (_vm->gameFlags().gameID == GI_LOL);
+ _v2 = (_vm->gameFlags().gameID == GI_KYRA2) || (_vm->gameFlags().gameID == GI_LOL && !_vm->gameFlags().isDemo);
_driver = new AdlibDriver(mixer, _v2);
assert(_driver);