Make MTGGameZone::countByType use string instead of char*

and replace strcmp with std::string operator== calls.
This commit is contained in:
Tobias Loose
2013-11-22 18:33:07 +01:00
parent c85d857604
commit 5d0d130587
3 changed files with 4 additions and 4 deletions

View File

@@ -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++)
{