1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-07 23:33:15 +02:00

* faster and less memory-consuming def handling

* minor leak in battle interface fixed
This commit is contained in:
mateuszb
2009-09-18 12:50:00 +00:00
parent af1f53cd65
commit d5ba0fc4fb
5 changed files with 17 additions and 25 deletions

View File

@@ -227,6 +227,7 @@ void CSpellEffectAnim::endAnim()
for(int b=0; b<toDel.size(); ++b)
{
delete toDel[b]->anim;
owner->battleEffects.erase(toDel[b]);
}