Erwan
- fixed a bug (crash if a card that had an ability until end of turn would be put into the graveyard before the end of the turn) - Added a new game Mode : Random 1 or 2 color.
This commit is contained in:
@@ -1976,6 +1976,11 @@ MTGAbility::MTGAbility(int id, MTGCardInstance * _source,Targetable * _target ):
|
||||
oneShot = 0;
|
||||
}
|
||||
|
||||
int MTGAbility::stillInUse(MTGCardInstance * card){
|
||||
if (card==source || card==target) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
MTGAbility::~MTGAbility(){
|
||||
if (!isClone){
|
||||
SAFE_DELETE(cost);
|
||||
|
||||
Reference in New Issue
Block a user