From a645b064331698c5c14bf75a49b2d920987d2f28 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Wed, 30 Mar 2011 04:13:28 +0000 Subject: [PATCH] tiny change, just changed a line to allow ninjutsu to be targeted. --- projects/mtg/include/AllAbilities.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/mtg/include/AllAbilities.h b/projects/mtg/include/AllAbilities.h index e11a8ab14..8952fcf38 100644 --- a/projects/mtg/include/AllAbilities.h +++ b/projects/mtg/include/AllAbilities.h @@ -1212,7 +1212,10 @@ public: int resolve() { - MTGCardInstance * copy = source->controller()->game->putInZone(source, source->controller()->game->hand, + MTGCardInstance * _target = (MTGCardInstance *) target; + if(!_target) + return 0; + MTGCardInstance * copy = _target->controller()->game->putInZone(_target,_target->currentZone, source->controller()->game->temp); Spell * spell = NEW Spell(copy); spell->resolve();