Erwan
-fix a crash when the AI tries to use a spell with X in the manacost
This commit is contained in:
@@ -80,6 +80,7 @@ class Spell: public Interruptible {
|
||||
TargetChooser * tc;
|
||||
ManaCost * cost;
|
||||
int payResult;
|
||||
int computeX(MTGCardInstance * card);
|
||||
Spell(MTGCardInstance* _source);
|
||||
Spell(int id, MTGCardInstance* _source, TargetChooser *_tc, ManaCost * _cost, int payResult);
|
||||
~Spell();
|
||||
|
||||
Reference in New Issue
Block a user