diff options
author | Nicola Mettifogo | 2007-05-16 19:23:14 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-05-16 19:23:14 +0000 |
commit | f243227f098824a74eae078531ccf6af539dfbcb (patch) | |
tree | 64c9d70351c3b6991d35a0128d8a9075d1434d2b /engines/parallaction/animation.cpp | |
parent | b3c582e4c787c888435c3967b1438bba9359c354 (diff) | |
download | scummvm-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.cpp | 2 |
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); } } |