diff options
Diffstat (limited to 'engines/parallaction/zone.cpp')
-rw-r--r-- | engines/parallaction/zone.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/zone.cpp b/engines/parallaction/zone.cpp index be55509100..9cc5f28c8a 100644 --- a/engines/parallaction/zone.cpp +++ b/engines/parallaction/zone.cpp @@ -81,7 +81,7 @@ void Parallaction::parseZone(Script &script, ZoneList &list, char *name) { z->_type = (4 + _objectsNames->lookup(_tokens[2])) << 16; } int16 _si = _zoneTypeNames->lookup(_tokens[1]); - if (_si != -1) { + if (_si != Table::notFound) { z->_type |= 1 << (_si - 1); parseZoneTypeBlock(script, z); continue; |