updated XCode project to be on latest SDK

fixed a few minor warnings.
This commit is contained in:
techdragon.nguyen@gmail.com
2011-10-09 07:06:32 +00:00
parent 6f10ef8425
commit a33d862d4b
3 changed files with 21 additions and 29 deletions
+1 -1
View File
@@ -3164,7 +3164,7 @@ int ALoseAbilities::destroy()
}
//Avoid inifinite loop of removing/putting back abilities
if (ALoseAbilities * la = dynamic_cast<ALoseAbilities*> (a))
if (dynamic_cast<ALoseAbilities*> (a))
{
DebugTrace("ALLABILITIES: loseability won't be put in the loseability list");
continue;
+1 -1
View File
@@ -2574,7 +2574,7 @@ int AbilityFactory::abilityEfficiency(MTGAbility * a, Player * p, int mode, Targ
return BAKA_EFFECT_GOOD;
// For now, ACounterTracker is only used for Creatures that "belong" to one of our domains, need to target one of our own lands, so we return a "positive" value
if (ACounterTracker * act = dynamic_cast<ACounterTracker *>(a))
if (dynamic_cast<ACounterTracker *>(a))
return BAKA_EFFECT_GOOD;
if (AACounter * ac = dynamic_cast<AACounter *>(a))