-fix issue 33
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-25 14:06:31 +00:00
parent eabb99c675
commit 1534397f2b
4 changed files with 13 additions and 6 deletions

View File

@@ -124,9 +124,9 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
//Blocker
}else if (attribute.find("blocking") != string::npos){
if (minus){
cd->defenser = (MTGCardInstance *)-1; //Oh yeah, that's ugly....
cd->defenser = & MTGCardInstance::NoCard;
}else{
cd->defenser = (MTGCardInstance *)1;
cd->defenser = & MTGCardInstance::AnyCard;
}
//Tapped, untapped
}else if (attribute.find("tapped") != string::npos){