aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/script_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/script_v5.cpp')
-rw-r--r--engines/scumm/script_v5.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp
index c5c055249e..52ac451e4c 100644
--- a/engines/scumm/script_v5.cpp
+++ b/engines/scumm/script_v5.cpp
@@ -624,12 +624,13 @@ void ScummEngine_v5::o5_chainScript() {
// WORKAROUND bug #743314: Work around a bug in script 33 in Indy3 VGA.
// That script is used for the fist fights in the Zeppelin. It uses
// Local[5], even though that is never set to any value. But script 33 is
- // called via chainScript by script 32, and in there Local[5] is defined
- // to the actor ID of the opposing soldier. So, we copy that value over
- // to the Local[5] variable of script 33.
+ // called via chainScript by script 32, and in there Local[5] is set to
+ // the actor ID of the opposing soldier. So, we copy that value over to
+ // the Local[5] variable of script 33.
// FIXME: This workaround is meant for Indy3 VGA, but we make no checks
- // to exclude the EGA/Mac/FM-TOWNS versions. Maybe we should check those
- // (by looking for GF_OLD256 && !platform=FM-TOWNS
+ // to exclude the EGA/Mac/FM-TOWNS versions. We need to check whether
+ // those need the same workaround; if they don't, or if they need it in
+ // modified form, adjust this workaround accordingly.
if (_game.id == GID_INDY3 && vm.slot[cur].number == 32 && script == 33) {
vars[5] = vm.localvar[cur][5];
}