more fixes to the review

This commit is contained in:
omegablast2002@yahoo.com
2011-01-22 17:14:41 +00:00
parent 07802134e8
commit 62873dc971
5 changed files with 6 additions and 11 deletions
+3 -2
View File
@@ -2798,7 +2798,7 @@ int AbilityFactory::computeX(Spell * spell, MTGCardInstance * card)
{
if (spell)
return spell->computeX(card);
if(card) return card->X;
if(card) return card->X;
return 0;
}
@@ -2807,7 +2807,8 @@ int AbilityFactory::computeXX(Spell * spell, MTGCardInstance * card)
{
if (spell)
return spell->computeXX(card);
if(card) return card->XX;
if(card)
return card->XX;
return 0;
}