-fix issue related to drawing card (underworld dreams)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-02-06 07:32:59 +00:00
parent cc1d479070
commit d50aecdde4
5 changed files with 25 additions and 23 deletions

View File

@@ -330,6 +330,7 @@ TargetChooser::TargetChooser(MTGCardInstance * card, int _maxtargets, bool _othe
//Default targetter : every card can be targetted, unless it is protected from the targetter card
// For spells that do not "target" a specific card, set targetter to NULL
bool TargetChooser::canTarget(Targetable * target){
if (!target) return false;
if (target->typeAsTarget() == TARGET_CARD){
MTGCardInstance * card = (MTGCardInstance *) target;
if (other){