aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/sagaresnames.h1
-rw-r--r--engines/saga/sndres.cpp9
2 files changed, 8 insertions, 2 deletions
diff --git a/engines/saga/sagaresnames.h b/engines/saga/sagaresnames.h
index 94f97635c1..8a4ac5f568 100644
--- a/engines/saga/sagaresnames.h
+++ b/engines/saga/sagaresnames.h
@@ -45,6 +45,7 @@ namespace Saga {
#define RID_IHNMDEMO_SCENE_LUT 286
#define RID_IHNMDEMO_SCRIPT_LUT 18
+#define RID_IHNMDEMO_SFX_LUT 222
//obj names
#define ITE_OBJ_MAP 14
diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp
index 7033aaed33..9f783bd50d 100644
--- a/engines/saga/sndres.cpp
+++ b/engines/saga/sndres.cpp
@@ -68,8 +68,13 @@ SndRes::SndRes(SagaEngine *vm) : _vm(vm) {
byte *resourcePointer;
size_t resourceLength;
- _vm->_resource->loadResource(resourceContext, RID_IHNM_SFX_LUT,
- resourcePointer, resourceLength);
+ if (_vm->getGameId() == GID_IHNM_DEMO) {
+ _vm->_resource->loadResource(resourceContext, RID_IHNMDEMO_SFX_LUT,
+ resourcePointer, resourceLength);
+ } else {
+ _vm->_resource->loadResource(resourceContext, RID_IHNM_SFX_LUT,
+ resourcePointer, resourceLength);
+ }
if (resourceLength == 0) {
error("Sndres::SndRes can't read SfxIDs table");