diff options
author | Paul Gilbert | 2018-05-08 19:42:30 -0400 |
---|---|---|
committer | GitHub | 2018-05-08 19:42:30 -0400 |
commit | 82296866b4f79798d1fd5085bfd91fa2fb829d6a (patch) | |
tree | 5d522c87426b7f9fc8fff98a935e9fcfa9ee0d2b /engines | |
parent | 25736a0b5dc0749eef7610198f83c0b9f56be467 (diff) | |
parent | ccc4ec963fad5f69f2b303b60e0fe611b19b7892 (diff) | |
download | scummvm-rg350-82296866b4f79798d1fd5085bfd91fa2fb829d6a.tar.gz scummvm-rg350-82296866b4f79798d1fd5085bfd91fa2fb829d6a.tar.bz2 scummvm-rg350-82296866b4f79798d1fd5085bfd91fa2fb829d6a.zip |
Merge pull request #1186 from kurisuke/fix/worldofxeen_track31
XEEN: Fix voice playback from track 31
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); |