aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v8.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 8f426e4834..84795777ca 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1520,6 +1520,13 @@ void Scumm_v8::o8_getActorChore()
Actor *a = derefActorSafe(actnum, "o8_getActorChore");
assert(a);
+ // FIXME: This is a hack for the cannon scene, as something isn't quite right
+ // here yet..
+ if ((_roomResource == 10) && (vm.slot[_currentScript].number == 2021)) {
+ push(11);
+ return;
+ }
+
push(a->frame);
}