fixed a memleak that triggered with cards like vise, we were leaving this funtion without deleting an event that was not being sent.

This commit is contained in:
zethfoxster
2016-07-11 19:32:57 -04:00
parent 66e01b12f8
commit cc75fc42db

View File

@@ -52,7 +52,10 @@ int Damage::resolve()
damage = ev->damage->damage;
target = ev->damage->target;
if (!damage)
{
delete (e);
return 0;
}
//asorbing effects for cards controller-----------