J :
* Fix a couple warnings and a bug.
This commit is contained in:
@@ -112,7 +112,6 @@ void MTGCard::setColor(int _color, int removeAllOthers){
|
||||
}
|
||||
|
||||
int MTGCard::getColor(){
|
||||
int i = 0;
|
||||
for (int i=0; i<Constants::MTG_NB_COLORS; i++){
|
||||
if (colors[i]){
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user