[Scummvm-git-logs] scummvm master -> 804355a95d9a9f59b7ccfe332ede48eba4d47353

dreammaster noreply at scummvm.org
Wed Feb 5 02:56:06 UTC 2025


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:
804355a95d M4: RIDDLE: Fix posting items from Peru


Commit: 804355a95d9a9f59b7ccfe332ede48eba4d47353
    https://github.com/scummvm/scummvm/commit/804355a95d9a9f59b7ccfe332ede48eba4d47353
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-02-04T18:56:00-08:00

Commit Message:
M4: RIDDLE: Fix posting items from Peru

Changed paths:
    engines/m4/riddle/rooms/section5/room501.cpp


diff --git a/engines/m4/riddle/rooms/section5/room501.cpp b/engines/m4/riddle/rooms/section5/room501.cpp
index 670929343ed..91c146a0d1b 100644
--- a/engines/m4/riddle/rooms/section5/room501.cpp
+++ b/engines/m4/riddle/rooms/section5/room501.cpp
@@ -466,6 +466,7 @@ void Room501::daemon() {
 		conv_export_value_curr(_G(flags)[V145] == 1 ||
 			_G(flags)[V146] > 0 || _G(flags)[V143] == 1 ? 1 : 0, 10);
 
+		_hasCrystalSkull = inv_player_has("CRYSTAL SKULL");
 		_hasStickAndShellMap = inv_player_has("STICK AND SHELL MAP");
 		_hasWheeledToy = inv_player_has("WHEELED TOY");
 		_hasRebusAmulet = inv_player_has("REBUS AMULET");
@@ -748,7 +749,7 @@ void Room501::daemon() {
 		series_unload(_ripParcelExchange);
 
 		int item = conv_current_entry();
-		if (item >= 1 && item <= 12) {
+		if (item >= 0 && item <= 11) {
 			static const char *ITEMS[12] = {
 				"CRYSTAL SKULL", "STICK AND SHELL MAP",
 				"WHEELED TOY", "REBUS AMULET", "SHRUNKEN HEAD",




More information about the Scummvm-git-logs mailing list