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:
@@ -227,6 +227,7 @@ void CSpellEffectAnim::endAnim()
|
||||
|
||||
for(int b=0; b<toDel.size(); ++b)
|
||||
{
|
||||
delete toDel[b]->anim;
|
||||
owner->battleEffects.erase(toDel[b]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user