- fix for issue 756 (cycling not working for first 7 drawn cards)

- minor cleanup of MTGGameZones.cpp
This commit is contained in:
wagic.the.homebrew
2011-11-12 10:14:27 +00:00
parent a94e0a11cf
commit d654b050df
5 changed files with 8 additions and 33 deletions

View File

@@ -895,13 +895,6 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
observer->addObserver(NEW MTGDeathtouchRule(observer, -1));
return NULL;
}
//this handles all other events reciever, this one is essential for the game to play.
found = s.find("otherabilitiesrule");
if(found != string::npos)
{
observer->addObserver(NEW OtherAbilitiesEventReceiver(observer, -1));
return NULL;
}
//need to remove the section inside the transforms ability from the string before parsing
//TODO: store string values of "&&" so we can remove the classes added just to add support