[Scummvm-git-logs] scummvm branch-2-3 -> ccee4a18c6327118a1d9d56a948499be70a2ae42
sev-
sev at scummvm.org
Tue Aug 31 08:15:36 UTC 2021
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:
da4175c46f SCUMM: Indy4 - Put coat/window in office, fixes bug #12420
ccee4a18c6 SCUMM: Fix comment
Commit: da4175c46ffbefb5a0819e88a8c5b56bb3a58d41
https://github.com/scummvm/scummvm/commit/da4175c46ffbefb5a0819e88a8c5b56bb3a58d41
Author: Ben Castricum (github at bencastricum.nl)
Date: 2021-08-31T10:15:26+02:00
Commit Message:
SCUMM: Indy4 - Put coat/window in office, fixes bug #12420
WORKAROUND bug #12420 (also occurs in original) Broken window and coat missing
This happens when you skip the cutscenes in the beginning, in particular
the one where Indy enters the office for the first time. If object 23 (National
Archeology) is in possession of Indy (owner == 1) then it's safe the force the
coat (object 24) and broken window (object 25) into the room to compensate for
the skipped code.
Changed paths:
engines/scumm/script_v5.cpp
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index 0f95070027..a0e87efc41 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -1383,6 +1383,16 @@ void ScummEngine_v5::o5_loadRoom() {
room = getVarOrDirectByte(PARAM_1);
+ // WORKAROUND bug #12420 (also occurs in original) Broken window and coat missing
+ // This happens when you skip the cutscenes in the beginning, in particular
+ // the one where Indy enters the office for the first time. If object 23 (National
+ // Archeology) is in possession of Indy (owner == 1) then it's safe the force the
+ // coat (object 24) and broken window (object 25) into the room.
+ if (_game.id == GID_INDY4 && room == 1 && _objectOwnerTable[23] == 1) {
+ putState(24, 1);
+ putState(25, 1);
+ }
+
// For small header games, we only call startScene if the room
// actually changed. This avoid unwanted (wrong) fades in Zak256
// and others. OTOH, it seems to cause a problem in newer games.
Commit: ccee4a18c6327118a1d9d56a948499be70a2ae42
https://github.com/scummvm/scummvm/commit/ccee4a18c6327118a1d9d56a948499be70a2ae42
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2021-08-31T10:15:30+02:00
Commit Message:
SCUMM: Fix comment
Changed paths:
engines/scumm/script_v5.cpp
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index a0e87efc41..69504f8349 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -1386,7 +1386,7 @@ void ScummEngine_v5::o5_loadRoom() {
// WORKAROUND bug #12420 (also occurs in original) Broken window and coat missing
// This happens when you skip the cutscenes in the beginning, in particular
// the one where Indy enters the office for the first time. If object 23 (National
- // Archeology) is in possession of Indy (owner == 1) then it's safe the force the
+ // Archeology) is in possession of Indy (owner == 1) then it's safe to force the
// coat (object 24) and broken window (object 25) into the room.
if (_game.id == GID_INDY4 && room == 1 && _objectOwnerTable[23] == 1) {
putState(24, 1);
More information about the Scummvm-git-logs
mailing list