Make MTGGameZone::countByType use string instead of char*
and replace strcmp with std::string operator== calls.
This commit is contained in:
@@ -1042,7 +1042,7 @@ void GameObserver::Affinity()
|
||||
}
|
||||
else
|
||||
{
|
||||
reduce = card->controller()->game->battlefield->countByType(type.c_str());
|
||||
reduce = card->controller()->game->battlefield->countByType(type);
|
||||
}
|
||||
for(int i = 0; i < reduce;i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user