aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-15 19:09:11 +0000
committerMax Horn2003-07-15 19:09:11 +0000
commit253e50b3e1f76476bb0c315154bc75fd9d13a2db (patch)
tree68a6cf97275491f5b6201e6b0c833e816514e56d /scumm
parent2aa8cc496d3764206b393a892415650ac2e1064b (diff)
downloadscummvm-rg350-253e50b3e1f76476bb0c315154bc75fd9d13a2db.tar.gz
scummvm-rg350-253e50b3e1f76476bb0c315154bc75fd9d13a2db.tar.bz2
scummvm-rg350-253e50b3e1f76476bb0c315154bc75fd9d13a2db.zip
Workaround for bug #770724
svn-id: r9042
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 444188e7a8..102f122a25 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1084,6 +1084,13 @@ void Scumm::actorTalk() {
VAR(VAR_TALK_ACTOR) = 0xFF;
} else {
int oldact;
+
+ // FIXME: Workaround for bug #770724
+ if (_gameId == GID_LOOM && _roomResource == 23 &&
+ vm.slot[_currentScript].number == 232 && _actorToPrintStrFor == 0) {
+ _actorToPrintStrFor = 2; // Could be anything from 2 to 5. Maybe compare to original?
+ }
+
a = derefActor(_actorToPrintStrFor, "actorTalk");
if (!a->isInCurrentRoom() && !(_features & GF_NEW_COSTUMES)) {
oldact = 0xFF;