aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/animation.cpp')
-rw-r--r--engines/parallaction/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp
index 67dc25994e..73e8672f3d 100644
--- a/engines/parallaction/animation.cpp
+++ b/engines/parallaction/animation.cpp
@@ -93,7 +93,7 @@ Animation *Parallaction::parseAnimation(Script& script, AnimationList &list, cha
int16 _si = _zoneTypeNames->lookup(_tokens[1]);
if (_si != -1) {
vD0->_type |= 1 << (_si-1);
- if (((vD0->_type & 0xFFFF) != kZoneNone) && ((vD0->_type & 0xFFFF) != kZoneCommand)) {
+ if ((vD0->type() != kZoneNone) && (vD0->type() != kZoneCommand)) {
parseZoneTypeBlock(script, vD0);
}
}