Fix for issue 640 (Keldon Marauders crash on PSP)
This commit is contained in:
@@ -4315,10 +4315,8 @@ int TargetAbility::resolve()
|
|||||||
delete (diff);
|
delete (diff);
|
||||||
ability->target = t;
|
ability->target = t;
|
||||||
//do nothing if the target controller responded by phasing out the target.
|
//do nothing if the target controller responded by phasing out the target.
|
||||||
MTGCardInstance * targeted = (MTGCardInstance*)t;
|
if (t->typeAsTarget() == TARGET_CARD && ((MTGCardInstance*)t)->isPhased)
|
||||||
if (targeted->typeAsTarget() == TARGET_CARD && targeted->isPhased)
|
return 0;
|
||||||
return 0;
|
|
||||||
|
|
||||||
if (ability->oneShot)
|
if (ability->oneShot)
|
||||||
return ability->resolve();
|
return ability->resolve();
|
||||||
MTGAbility * a = ability->clone();
|
MTGAbility * a = ability->clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user