aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-17 16:32:04 -0400
committerPaul Gilbert2016-09-17 16:32:04 -0400
commitd34d7b650c052e5f6de925e6e6fb5b372ac8b0b8 (patch)
tree1a4e0a35feb1dd501e2d7c8ef4f3bb32b1fdfcbf /engines/xeen
parent94606db1bfcfd7403fa663698ac6994de7b72d7c (diff)
downloadscummvm-rg350-d34d7b650c052e5f6de925e6e6fb5b372ac8b0b8.tar.gz
scummvm-rg350-d34d7b650c052e5f6de925e6e6fb5b372ac8b0b8.tar.bz2
scummvm-rg350-d34d7b650c052e5f6de925e6e6fb5b372ac8b0b8.zip
XEEN: Fix setting FX pause countdowns
Diffstat (limited to 'engines/xeen')
-rw-r--r--engines/xeen/music.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/music.cpp b/engines/xeen/music.cpp
index c4458328b1..5d3cc623a2 100644
--- a/engines/xeen/music.cpp
+++ b/engines/xeen/music.cpp
@@ -177,7 +177,7 @@ bool MusicDriver::fxSetCountdown(const byte *&srcP, byte param) {
if (!param)
param = *srcP++;
_fxCountdownTimer = param;
- _musDataPtr = srcP;
+ _fxDataPtr = srcP;
debugC(3, kDebugSound, "fxSetCountdown %d", param);
// Do paused handling and break out of processing loop
@@ -208,7 +208,7 @@ void MusicDriver::playFX(uint effectId, const byte *data) {
_fxPlaying = true;
}
- debugC(1, kDebugSound, "Starting FX");
+ debugC(1, kDebugSound, "Starting FX %d", effectId);
}
void MusicDriver::playSong(const byte *data) {