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->GetAI = &GetAI_npc_released_offspring_harkoa;
|
||||||
newscript->RegisterSelf();
|
newscript->RegisterSelf();
|
||||||
|
|
||||||
|
newscript = new Script;
|
||||||
newscript->Name = "npc_crusade_recruit";
|
newscript->Name = "npc_crusade_recruit";
|
||||||
newscript->GetAI = &GetAI_npc_crusade_recruit;
|
newscript->GetAI = &GetAI_npc_crusade_recruit;
|
||||||
newscript->pGossipHello = &GossipHello_npc_crusade_recruit;
|
newscript->pGossipHello = &GossipHello_npc_crusade_recruit;
|
||||||
|
|||||||
Reference in New Issue
Block a user