Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script

This commit is contained in:
Shauren
2023-06-24 20:10:14 +02:00
parent 76d2f29e4e
commit a03455acbb
8 changed files with 22 additions and 20 deletions

View File

@@ -536,7 +536,7 @@ class CreatureGameObjectAreaTriggerScriptRegistrySwapHooks
static void LoadResetScript(AreaTrigger* at)
{
at->AI()->OnCreate();
at->AI()->OnCreate(nullptr);
}
static Creature* GetEntityFromMap(std::common_type<Creature>, Map* map, ObjectGuid const& guid)