added set color artifact to the list of color you can set

This commit is contained in:
omegablast2002@yahoo.com
2010-08-20 01:46:26 +00:00
parent 6ce502f88c
commit 69cd29e2c4

View File

@@ -133,6 +133,7 @@ void CardPrimitive::setColor(string _color, int removeAllOthers){
if(_color.compare("green")==0) return setColor(Constants::MTG_COLOR_GREEN,removeAllOthers);
if(_color.compare("black")==0) return setColor(Constants::MTG_COLOR_BLACK,removeAllOthers);
if(_color.compare("white")==0) return setColor(Constants::MTG_COLOR_WHITE,removeAllOthers);
if(_color.compare("artifact")==0) return setColor(Constants::MTG_COLOR_ARTIFACT,removeAllOthers);
}
void CardPrimitive::setColor(int _color, int removeAllOthers){