Small fix in match_and ( [-color1; -color2] was handled incorrectly )
This commit is contained in:
@@ -160,7 +160,8 @@ MTGCardInstance * CardDescriptor::match_and(MTGCardInstance * card)
|
||||
|
||||
if (mColorExclusions)
|
||||
{
|
||||
if ((mColorExclusions & card->colors) == mColorExclusions)
|
||||
// if any of forbidden colors intersect with card colors
|
||||
if ((mColorExclusions & card->colors) != 0)
|
||||
match = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user