* Remove warnings.
This commit is contained in:
jean.chalard
2008-11-16 05:20:08 +00:00
parent e86e73af2f
commit 3c603f1ec4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2794,7 +2794,7 @@ class AAbomination :public MTGAbility{
if( newPhase == MTG_PHASE_COMBATDAMAGE){
nbOpponents = 0;
MTGCardInstance * opponent = source->getNextOpponent();
while (opponent && opponent->hasColor(MTG_COLOR_GREEN) || opponent->hasColor(MTG_COLOR_WHITE)){
while ((opponent && opponent->hasColor(MTG_COLOR_GREEN)) || opponent->hasColor(MTG_COLOR_WHITE)){
opponents[nbOpponents] = opponent;
nbOpponents ++;
opponent = source->getNextOpponent(opponent);