aboutsummaryrefslogtreecommitdiff
path: root/scumm/boxes.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-08-06 09:10:19 +0000
committerTravis Howell2003-08-06 09:10:19 +0000
commite4e9538038a59cb2d47c61fcfb762d02b2abfb8c (patch)
treee0570ed96e29fca774e783b8f9a3f57f58cf9e09 /scumm/boxes.cpp
parent8b3ac82f358e7066070f0f19a2118fd9fc0bdd08 (diff)
downloadscummvm-rg350-e4e9538038a59cb2d47c61fcfb762d02b2abfb8c.tar.gz
scummvm-rg350-e4e9538038a59cb2d47c61fcfb762d02b2abfb8c.tar.bz2
scummvm-rg350-e4e9538038a59cb2d47c61fcfb762d02b2abfb8c.zip
Add GF_INDY3 feature flag for indy3 games to reduce checks
Remove GF_ADLIB_DEFAULT since it is no longer used svn-id: r9546
Diffstat (limited to 'scumm/boxes.cpp')
-rw-r--r--scumm/boxes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp
index f46c68d6a5..0342288832 100644
--- a/scumm/boxes.cpp
+++ b/scumm/boxes.cpp
@@ -657,8 +657,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
// and also bug #774783.
- if ((_gameId == GID_INDY3 || _gameId == GID_INDY3_TOWNS || _gameId == GID_INDY3_256)
- && _roomResource == 46 && from == 1 && to == 0)
+ if ((_features & GF_INDY3) && _roomResource == 46 && from == 1 && to == 0)
return 1;
// Skip up to the matrix data for box 'from'