From 713cb2aa454c048bc58512f5e5510351fad9094e Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Tue, 13 Sep 2011 13:01:20 +0000 Subject: [PATCH] does not have a targetMin. --- projects/mtg/src/TargetChooser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/mtg/src/TargetChooser.cpp b/projects/mtg/src/TargetChooser.cpp index 9f55c88e1..f2a688b2d 100644 --- a/projects/mtg/src/TargetChooser.cpp +++ b/projects/mtg/src/TargetChooser.cpp @@ -182,6 +182,8 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta } WParsedInt * howmuch = NEW WParsedInt(howmany, (Spell*)card, card); howmany.find("anyamount") != string::npos?maxtargets = TargetChooser::UNLITMITED_TARGETS:maxtargets = howmuch->getValue(); + if(howmany.find("anyamount") != string::npos) + targetMin = false; delete howmuch; s1 = s1.substr(end + 1); }