aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-30 21:17:15 +0000
committerFilippos Karapetis2007-07-30 21:17:15 +0000
commit6f1baac2cda438dbcb6401382dbf64f1a1e9e8bf (patch)
treed446943b3b13268d6e9aa4e74ad82bd85f9b1c23
parent91c2aefc2a4c276d71e51e4e2f541513ef1f19b8 (diff)
downloadscummvm-rg350-6f1baac2cda438dbcb6401382dbf64f1a1e9e8bf.tar.gz
scummvm-rg350-6f1baac2cda438dbcb6401382dbf64f1a1e9e8bf.tar.bz2
scummvm-rg350-6f1baac2cda438dbcb6401382dbf64f1a1e9e8bf.zip
The interactive part of the IHNM demo loads music normally, like the full version, so only load music manually when songTableID is 0
svn-id: r28341
-rw-r--r--engines/saga/rscfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/rscfile.cpp b/engines/saga/rscfile.cpp
index 2db85cfc65..31961cfb5d 100644
--- a/engines/saga/rscfile.cpp
+++ b/engines/saga/rscfile.cpp
@@ -683,7 +683,7 @@ void Resource::loadGlobalResources(int chapter, int actorsEntrance) {
_vm->_anim->loadCutawayList(resourcePointer, resourceLength);
- if (_vm->getGameId() != GID_IHNM_DEMO) {
+ if (_metaResource.songTableID > 0) {
_vm->_resource->loadResource(resourceContext, _metaResource.songTableID, resourcePointer, resourceLength);
if (resourceLength == 0) {