- fixed memory leak in AEquip/ATeach 
- Test suite now trims strings correctly (allows to have space between comma-separated card names)
- Added Paradise Mantle (for ATeach test)
- removed a missing wallpaper from wallpapers list
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-11-07 02:27:54 +00:00
parent b2ee9c0f41
commit 416617fc0d
7 changed files with 72 additions and 40 deletions

View File

@@ -232,10 +232,10 @@ void TestSuiteState::parsePlayerState(int playerId, string s){
unsigned int value;
limiter = s.find(",");
if (limiter != string::npos){
value = Rules::getMTGId(s.substr(0,limiter));
value = Rules::getMTGId(trim(s.substr(0,limiter)));
s = s.substr(limiter+1);
}else{
value = Rules::getMTGId(s);
value = Rules::getMTGId(trim(s));
s = "";
}
if (value) playerData[playerId].zones[area].add(value);