fix for a bug i introduced.
This commit is contained in:
@@ -519,7 +519,7 @@ unsigned int MTGGameZone::countByType(const char * value)
|
|||||||
{
|
{
|
||||||
result++;
|
result++;
|
||||||
}
|
}
|
||||||
else if(value == "token" && cards[i]->isToken)
|
else if(strcmp(value, "token") == 0 && cards[i]->isToken)
|
||||||
result++;
|
result++;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user