aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/boxes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp
index 3b550fce6b..1f2b9f8f45 100644
--- a/scumm/boxes.cpp
+++ b/scumm/boxes.cpp
@@ -82,6 +82,11 @@ static ScummVM::Point closestPtOnLine(int ulx, int uly, int llx, int lly, int x,
byte Scumm::getMaskFromBox(int box) {
+ // FIXME: see bug #740244 and #755863. This appears to have been a
+ // long standing bug in the original engine?
+ if (_version <= 3 && box == 255)
+ return 1;
+
Box *ptr = getBoxBaseAddr(box);
if (!ptr)
return 0;