[Scummvm-git-logs] scummvm branch-2-8 -> 891397d6f417e3208a39e3cccd60f06e0eaed4b7

sluicebox noreply at scummvm.org
Thu Mar 7 23:31:04 UTC 2024


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

Summary:
6afe8087de AGI: Fix LSL1 shoplifting bug
891397d6f4 NEWS: Update AGI news


Commit: 6afe8087de9934d3521a8b4d42169106a7d2f875
    https://github.com/scummvm/scummvm/commit/6afe8087de9934d3521a8b4d42169106a7d2f875
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-03-07T16:29:46-07:00

Commit Message:
AGI: Fix LSL1 shoplifting bug

Fixes bug #13137

Changed paths:
    engines/agi/cycle.cpp


diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 7ee995503e6..7f4f4dd1f8c 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -115,6 +115,13 @@ void AgiEngine::newRoom(int16 newRoomNr) {
 
 		_game._vm->_text->statusDraw();
 		_game._vm->_text->promptRedraw();
+
+		// WORKAROUND: LSL1 has a script bug where exiting room 17 via the staircase
+		// leaves a flag set that ignores priority triggers in all rooms. This allows
+		// the player to leave the store (room 21) without paying. Bug #13137
+		if (getGameID() == GID_LSL1) {
+			setFlag(36, 0); // clear "ignore special" flag on every room change
+		}
 	}
 }
 


Commit: 891397d6f417e3208a39e3cccd60f06e0eaed4b7
    https://github.com/scummvm/scummvm/commit/891397d6f417e3208a39e3cccd60f06e0eaed4b7
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-03-07T16:29:46-07:00

Commit Message:
NEWS: Update AGI news

Changed paths:
    NEWS.md


diff --git a/NEWS.md b/NEWS.md
index 6fcb9a3c9fb..9c3cc3968ee 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -17,6 +17,7 @@ For a more comprehensive changelog of the latest experimental code, see:
    - Fixed Amiga menus in Space Quest 1, Manhunter 1, and Manhunter 2.
    - Fixed Graham facing away from the king in King's Quest 1.
    - Fixed Alexander getting stuck on the stairs in King's Quest 3.
+   - Fixed Larry being able to shoplift in Leisure Suit Larry 1.
    - Fixed ducks not jumping at the start of Donald Duck's Playground.
    - Fixed instant death in fan game "Phil's Quest: The Search for Tolbaga".
    - Fixed buttons freezing in fan game "DG: The AGIMouse Adventure".




More information about the Scummvm-git-logs mailing list