mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee.
--HG-- branch : trunk
This commit is contained in:
@@ -1084,6 +1084,7 @@ void AddSC_zuldrak()
|
||||
newscript->GetAI = &GetAI_npc_released_offspring_harkoa;
|
||||
newscript->RegisterSelf();
|
||||
|
||||
newscript = new Script;
|
||||
newscript->Name = "npc_crusade_recruit";
|
||||
newscript->GetAI = &GetAI_npc_crusade_recruit;
|
||||
newscript->pGossipHello = &GossipHello_npc_crusade_recruit;
|
||||
|
||||
Reference in New Issue
Block a user