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:
@@ -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-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user