fixed last check in. Test suite passes. Added comments on possible null pointer exceptions.
Updated XCode project file to include AIPlayerBaka classes. Added test suite to iOS build
This commit is contained in:
@@ -932,6 +932,7 @@ int GameObserver::cardClick(MTGCardInstance * card, Targetable * object)
|
||||
|
||||
if (ORDER == combatStep)
|
||||
{
|
||||
//TODO it is possible at this point that card is NULL. if so, what do we return since card->defenser would result in a crash?
|
||||
card->defenser->raiseBlockerRankOrder(card);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user