mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-23 09:19:55 +00:00
AGI: Fix KQ3 mice conversation not occurring
Fixes bug #15130 Thanks to @ArthurWalden for reporting Thanks to @OneShortEye for KQ3 expertise and helping reproduce
This commit is contained in:
parent
803cf92557
commit
43a90ba922
@ -136,6 +136,15 @@ void AgiEngine::newRoom(int16 newRoomNr) {
|
||||
if (getGameID() == GID_LSL1) {
|
||||
setFlag(36, 0); // clear "ignore special" flag on every room change
|
||||
}
|
||||
|
||||
// WORKAROUND: KQ3 has a script bug where listening to fish talk in room 31
|
||||
// prevents hearing the critical mice conversation on the ship in room 86.
|
||||
// Each scene uses a series of flag numbers, but they overlap. Bug #15130
|
||||
if (getGameID() == GID_KQ3 && newRoomNr == 77) {
|
||||
for (int16 flag = 193; flag <= 197; flag++) {
|
||||
setFlag(flag, 0); // clear all mice flags when starting ship voyage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user