diff options
author | Peter Helbing | 2018-05-08 20:25:09 +0900 |
---|---|---|
committer | Peter Helbing | 2018-05-08 20:28:29 +0900 |
commit | ccc4ec963fad5f69f2b303b60e0fe611b19b7892 (patch) | |
tree | 5d522c87426b7f9fc8fff98a935e9fcfa9ee0d2b /engines | |
parent | 25736a0b5dc0749eef7610198f83c0b9f56be467 (diff) | |
download | scummvm-rg350-ccc4ec963fad5f69f2b303b60e0fe611b19b7892.tar.gz scummvm-rg350-ccc4ec963fad5f69f2b303b60e0fe611b19b7892.tar.bz2 scummvm-rg350-ccc4ec963fad5f69f2b303b60e0fe611b19b7892.zip |
XEEN: Fix voice playback from track 31
Track 31 is on the first cd, but contains speech for Darkside content
(e.g. Ellinger). It is referenced as track 31, so the offset must not
be added.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index a243951f16..ee55ffeeff 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -1478,7 +1478,7 @@ bool Scripts::cmdPlayCD(ParamsIterator ¶ms) { int finish = params.readUint16LE(); debugC(3, kDebugScripts, "cmdPlayCD Track=%d start=%d finish=%d", trackNum, start, finish); - if (_vm->_files->_ccNum) + if (_vm->_files->_ccNum && trackNum < 31) trackNum += 30; assert(trackNum <= 60); |