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

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;