mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user