aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2010-10-22 21:49:21 +0000
committerPaul Gilbert2010-10-22 21:49:21 +0000
commit610c5eb336f9e6561f44772845fbd525a0bb5eab (patch)
treec1313384945329f24b37599f4bfbc0147bcefa7b
parent9cbb0d557948d8b4c3a8c766a1fc32bb75a2c6c3 (diff)
downloadscummvm-rg350-610c5eb336f9e6561f44772845fbd525a0bb5eab.tar.gz
scummvm-rg350-610c5eb336f9e6561f44772845fbd525a0bb5eab.tar.bz2
scummvm-rg350-610c5eb336f9e6561f44772845fbd525a0bb5eab.zip
TINSEL: Load samples file for DW2 Demo
svn-id: r53714
-rw-r--r--engines/tinsel/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/sound.cpp b/engines/tinsel/sound.cpp
index 6e8e736e14..0a32ab143f 100644
--- a/engines/tinsel/sound.cpp
+++ b/engines/tinsel/sound.cpp
@@ -480,8 +480,8 @@ void SoundManager::setSFXVolumes(uint8 volume) {
* Opens and inits all sound sample files.
*/
void SoundManager::openSampleFiles() {
- // Floppy and demo versions have no sample files
- if (_vm->getFeatures() & GF_FLOPPY || _vm->getFeatures() & GF_DEMO)
+ // Floppy and demo versions have no sample files, except for the Discworld 2 demo
+ if (_vm->getFeatures() & GF_FLOPPY || (IsDemo && !TinselV2))
return;
TinselFile f;