*Cleanups before delete after not successfull load pet from db. Thanks to Drahy for debug traces.
--HG-- branch : trunk
This commit is contained in:
@@ -4855,7 +4855,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
NewPet->CleanupsBeforeDelete();
|
||||
delete NewPet;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user