Substitute more char arrays with strings
This commit is contained in:
@@ -344,7 +344,7 @@ bool CardPrimitive::hasSubtype(int _subtype)
|
||||
return hasType(_subtype);
|
||||
}
|
||||
|
||||
bool CardPrimitive::hasType(const char * _type)
|
||||
bool CardPrimitive::hasType(const string& _type)
|
||||
{
|
||||
int id = MTGAllCards::findType(_type);
|
||||
return hasType(id);
|
||||
|
||||
Reference in New Issue
Block a user