Skip to content

Commit

Permalink
DIRECTOR: Fix erroneous test condition
Browse files Browse the repository at this point in the history
  • Loading branch information
npjg committed Jul 7, 2020
1 parent 2f12428 commit bb4dd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/director/score.cpp
Expand Up @@ -189,7 +189,7 @@ Common::Point Channel::getPosition() {
}

MacShape *Channel::getShape() {
if (!_sprite->isQDShape() && (_sprite->_cast && _sprite->_cast->_type != kCastShape))
if (!_sprite->isQDShape() || (_sprite->_cast && _sprite->_cast->_type != kCastShape))
return nullptr;

MacShape *shape = new MacShape();
Expand Down

0 comments on commit bb4dd0f

Please sign in to comment.