Erwan
- 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:
@@ -2469,7 +2469,7 @@ public:
|
||||
source->target = NULL;
|
||||
for (size_t i = 0; i < currentAbilities.size(); ++i){
|
||||
MTGAbility * a = currentAbilities[i];
|
||||
if(dynamic_cast<AEquip *>(a)){
|
||||
if(dynamic_cast<AEquip *>(a) || dynamic_cast<ATeach *>(a)){
|
||||
SAFE_DELETE(a);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user