Scripts/Events: Fixed memory leak in npc_bountiful_table added in 75df296bb6f8d30a65f669dab6af3d1b2d6046f7
(cherry picked from commit 95ea4b50904a26710eead36e48a6ab29780d464b)
This commit is contained in:
@@ -2774,7 +2774,7 @@ class CastFoodSpell : public BasicEvent
|
||||
bool Execute(uint64 /*execTime*/, uint32 /*diff*/) override
|
||||
{
|
||||
_owner->CastSpell(_owner, _spellId, true);
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user