[Scummvm-git-logs] scummvm master -> 43a90ba9228f079dca91eefcb85daf928f191526

sluicebox noreply at scummvm.org
Tue Nov 12 00:07:54 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
43a90ba922 AGI: Fix KQ3 mice conversation not occurring


Commit: 43a90ba9228f079dca91eefcb85daf928f191526
    https://github.com/scummvm/scummvm/commit/43a90ba9228f079dca91eefcb85daf928f191526
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-11-11T16:07:17-08:00

Commit Message:
AGI: Fix KQ3 mice conversation not occurring

Fixes bug #15130

Thanks to @ArthurWalden for reporting
Thanks to @OneShortEye for KQ3 expertise and helping reproduce

Changed paths:
    engines/agi/cycle.cpp


diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index d2d1beeef5a..3f49e6dcc68 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -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
+			}
+		}
 	}
 }
 




More information about the Scummvm-git-logs mailing list