moved the gaurds i introduced in r2734 into the function selectAbility() as a static bool as suggested by jean, its much cleaner this way.

This commit is contained in:
omegablast2002@yahoo.com
2010-12-04 18:25:59 +00:00
parent 15e6fabd9f
commit 8a49d2af51
4 changed files with 17 additions and 44 deletions

View File

@@ -59,7 +59,6 @@ protected:
//Variables used by Test suite
MTGCardInstance * nextCardToPlay;
queue<AIAction *> clickstream;
bool mFindingAbility;//is Ai currently looking for an activated ability to use?
void tapLandsForMana(ManaCost * cost, MTGCardInstance * card = NULL);
int orderBlockers();
int combatDamages();