* Fix a couple warnings and a bug.
This commit is contained in:
jean.chalard
2009-01-06 13:22:29 +00:00
parent f8c96737e8
commit 7f97862f5e
6 changed files with 5 additions and 12 deletions

View File

@@ -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;