aboutsummaryrefslogtreecommitdiff
path: root/scumm/boxes.cpp
diff options
context:
space:
mode:
authorMax Horn2003-07-21 22:08:39 +0000
committerMax Horn2003-07-21 22:08:39 +0000
commit743ad2aaa6d051d4a39448dd2ac3de3c88943511 (patch)
tree82a4d9779efef67724e3a7d3617b5903bcfbb7cb /scumm/boxes.cpp
parent0a334bf269254033c969ba1c18068f091f91633f (diff)
downloadscummvm-rg350-743ad2aaa6d051d4a39448dd2ac3de3c88943511.tar.gz
scummvm-rg350-743ad2aaa6d051d4a39448dd2ac3de3c88943511.tar.bz2
scummvm-rg350-743ad2aaa6d051d4a39448dd2ac3de3c88943511.zip
really fix #774783 in IndyEGA (while the value '1' is not strictly correct, and in IndyVGA it is 0, and 0 is the logical value - this *has* to be 1 (and 1 is what the original returns, too, due to a bug)
svn-id: r9111
Diffstat (limited to 'scumm/boxes.cpp')
-rw-r--r--scumm/boxes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp
index ec5427896a..f3f9ceda98 100644
--- a/scumm/boxes.cpp
+++ b/scumm/boxes.cpp
@@ -656,7 +656,7 @@ int Scumm::getPathToDestBox(byte from, byte to) {
// case to fix the scene in Indy3 where Indy meets Hitler in Berlin.
// It's one of the places (or maybe even the only one?). See bug #770690
if (_gameId == GID_INDY3 && _roomResource == 46 && from == 1 && to == 0)
- return 0;
+ return 1;
// Skip up to the matrix data for box 'from'
for (i = 0; i < from && boxm < end; i++) {