Core/Creatures: moved pre/post summon actions into SummonInfo API and disabled most old TemporarySummon functionalities
This commit is contained in:
1 parent
0841615951
commit
98d4a57db1
13 files changed
+272
-339
No files matched your search
@@ -8863,6 +8863,9 @@ void Unit::UnregisterSummon(SummonInfo* summon)
|
||||
if (!summon)
|
||||
return;
|
||||
|
||||
// Perform cleanup actions if needed
|
||||
summon->HandlePreUnsummonActions();
|
||||
|
||||
SummonPropertiesSlot slot = summon->GetSummonSlot();
|
||||
if (slot == SummonPropertiesSlot::None)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user