removed calls to ManaCost::init() as all but two are actually necessary.
moved init() from ManaCost to a private call changed ManaPool method init() to Empty() to better represent what it does. renamed ManaCost::reinit to resetCosts() as reinit sounds like your are returning the ManaCost object back to initial state which is not what happens. Only the cost related members are reset, the bool isMulti is left alone
This commit is contained in:
@@ -70,7 +70,6 @@ AIHint * AIHints::getByCondition (string condition)
|
||||
|
||||
bool AIHints::HintSaysDontAttack(GameObserver* observer,MTGCardInstance * card)
|
||||
{
|
||||
int count = 0;
|
||||
TargetChooserFactory tfc(observer);
|
||||
TargetChooser * hintTc = NULL;
|
||||
for(unsigned int i = 0; i < hints.size();i++)
|
||||
|
||||
Reference in New Issue
Block a user