diff --git a/projects/mtg/src/AllAbilities.cpp b/projects/mtg/src/AllAbilities.cpp index f8c9dc0b8..cfaebb707 100644 --- a/projects/mtg/src/AllAbilities.cpp +++ b/projects/mtg/src/AllAbilities.cpp @@ -3604,7 +3604,7 @@ int ATransformer::addToGame() { MTGCardInstance * _target = NULL; Interruptible * action = (Interruptible *) target; - if (action->type == ACTION_SPELL && action->state == NOT_RESOLVED) + if (action && action->type == ACTION_SPELL && action->state == NOT_RESOLVED) { Spell * spell = (Spell *) action; _target = spell->source;