SCI32: Fix QFG4CD Look Grate missing audio
Fixes a broken message due to wrong audio tuple, bug #10848
This commit is contained in:
parent
e0d1f270a1
commit
2c1661bff2
1 changed files with 7 additions and 0 deletions
|
@ -461,6 +461,13 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) {
|
||||||
n = 0x02200001;
|
n = 0x02200001;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// QFG4CD has a message whose audio36 resource has the wrong tuple and never plays.
|
||||||
|
// The message tuple is 510 23 1 0 1 but the audio36 tuple is 510 199 1 0 1. bug #10848
|
||||||
|
if (g_sci->getGameId() == GID_QFG4 && g_sci->isCD() &&
|
||||||
|
map->_mapNumber == 510 && n == 0xc7010001) {
|
||||||
|
n = 0x17010001;
|
||||||
|
}
|
||||||
|
|
||||||
if (isEarly) {
|
if (isEarly) {
|
||||||
offset = ptr.getUint32LE();
|
offset = ptr.getUint32LE();
|
||||||
ptr += 4;
|
ptr += 4;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue