Added/fixed some primitives from J22 and NEC sets, fixed J22 and NEC dat file, updated card image url from NEC and J22 sets, fixed a bug on token copy, improved flip ability for tokens.
This commit is contained in:
@@ -112,8 +112,13 @@ void MTGCardInstance::copy(MTGCardInstance * card, bool nolegend)
|
||||
source = MTGCollection()->getCardById(card->getMTGId());
|
||||
else
|
||||
{
|
||||
source = card->tokCard;
|
||||
source->data = card->tokCard;//?wtf
|
||||
if(card->tokCard){ // Fix a possible crash when tokCard is null...
|
||||
source = card->tokCard;
|
||||
source->data = card->tokCard; //?wtf
|
||||
} else {
|
||||
source = card;
|
||||
source->data = card;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user