Small fixes (misstype, formatting, target p2)

This commit is contained in:
pankdm
2013-10-18 06:38:15 +00:00
parent 38b4213f9c
commit b5794ad328
6 changed files with 14 additions and 12 deletions
+3 -3
View File
@@ -554,7 +554,7 @@ unsigned int MTGGameZone::countByCanTarget(TargetChooser * tc)
int result = 0;
for (int i = 0; i < (nb_cards); i++)
{
if (tc->canTarget(cards[i]), withoutProtections)
if (tc->canTarget(cards[i], withoutProtections))
{
result++;
}
@@ -572,7 +572,7 @@ unsigned int MTGGameZone::countTotalManaSymbols(TargetChooser * tc, int color)
int result = 0;
for (int i = 0; i < nb_cards; i++)
{
if (tc->canTarget(cards[i]), withoutProtections)
if (tc->canTarget(cards[i], withoutProtections))
{
result += cards[i]->getManaCost()->getManaSymbols(color);
}
@@ -947,7 +947,7 @@ MTGGameZone * MTGGameZone::intToZone(GameObserver *g, int zoneId, MTGCardInstanc
{
//bug or bug case default to
p2 = source->controller();
target = source;
target = source;
}
}
else