aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/animation.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-05-16 19:23:14 +0000
committerNicola Mettifogo2007-05-16 19:23:14 +0000
commitf243227f098824a74eae078531ccf6af539dfbcb (patch)
tree64c9d70351c3b6991d35a0128d8a9075d1434d2b /engines/parallaction/animation.cpp
parentb3c582e4c787c888435c3967b1438bba9359c354 (diff)
downloadscummvm-rg350-f243227f098824a74eae078531ccf6af539dfbcb.tar.gz
scummvm-rg350-f243227f098824a74eae078531ccf6af539dfbcb.tar.bz2
scummvm-rg350-f243227f098824a74eae078531ccf6af539dfbcb.zip
Replaced explicit bitmasks with function calls.
svn-id: r26855
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);
}
}