Add GF_INDY3 feature flag for indy3 games to reduce checks
Remove GF_ADLIB_DEFAULT since it is no longer used svn-id: r9546
This commit is contained in:
parent
8b3ac82f35
commit
e4e9538038
5 changed files with 42 additions and 44 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue