[Scummvm-git-logs] scummvm master -> 509d92ecb7af746b361298854a6d390088f82423
Strangerke
noreply at scummvm.org
Sun Jan 25 21:49:36 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
a3b3e6779f M4: RIDDLE: use constant in adv_hostpot
509d92ecb7 M4: RIDDLE: fix a nullptr in a call to kernel_examine_inventory_object
Commit: a3b3e6779f349df98670e1e020d0a73fe4448f01
https://github.com/scummvm/scummvm/commit/a3b3e6779f349df98670e1e020d0a73fe4448f01
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2026-01-25T22:47:34+01:00
Commit Message:
M4: RIDDLE: use constant in adv_hostpot
Changed paths:
engines/m4/adv_r/adv_hotspot.cpp
diff --git a/engines/m4/adv_r/adv_hotspot.cpp b/engines/m4/adv_r/adv_hotspot.cpp
index e7704cf24e6..c68e8ccfc88 100644
--- a/engines/m4/adv_r/adv_hotspot.cpp
+++ b/engines/m4/adv_r/adv_hotspot.cpp
@@ -38,7 +38,7 @@ void HotSpotRec::clear() {
feet_x = feet_y = 0;
facing = 0;
active = false;
- cursor_number = 0;
+ cursor_number = kArrowCursor;
syntax = 0;
vocabID = verbID = 0;
vocab = verb = prep = nullptr;
@@ -101,7 +101,7 @@ HotSpotRec *hotspot_new(int x1, int y1, int x2, int y2) {
newSpot->verb = nullptr;
newSpot->prep = nullptr;
newSpot->syntax = 0; // Unused field
- newSpot->cursor_number = 0;
+ newSpot->cursor_number = kArrowCursor;
newSpot->facing = 5;
newSpot->feet_x = 32767;
newSpot->feet_y = 32767;
Commit: 509d92ecb7af746b361298854a6d390088f82423
https://github.com/scummvm/scummvm/commit/509d92ecb7af746b361298854a6d390088f82423
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2026-01-25T22:47:34+01:00
Commit Message:
M4: RIDDLE: fix a nullptr in a call to kernel_examine_inventory_object
Changed paths:
engines/m4/riddle/rooms/section4/room409.cpp
diff --git a/engines/m4/riddle/rooms/section4/room409.cpp b/engines/m4/riddle/rooms/section4/room409.cpp
index 0e8950a0af3..850fc1b5e78 100644
--- a/engines/m4/riddle/rooms/section4/room409.cpp
+++ b/engines/m4/riddle/rooms/section4/room409.cpp
@@ -251,7 +251,7 @@ void Room409::daemon() {
digi_play("409_s03", 2);
inv_give_to_player("KEY");
kernel_examine_inventory_object("PING KEY", _G(master_palette),
- 5, 1, 270, 150, -1, 0, -1);
+ 5, 1, 270, 150, -1, nullptr, -1);
digi_play("409r03a", 1, 255, 406);
break;
More information about the Scummvm-git-logs
mailing list