From a5fc22895e73e9c46159a0979fe20e28b5c19d42 Mon Sep 17 00:00:00 2001 From: Anubisss Date: Thu, 6 May 2010 14:58:45 +0200 Subject: Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee. --HG-- branch : trunk --- src/scripts/northrend/zuldrak.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/scripts/northrend/zuldrak.cpp b/src/scripts/northrend/zuldrak.cpp index 96827801a96..29b293154c9 100644 --- a/src/scripts/northrend/zuldrak.cpp +++ b/src/scripts/northrend/zuldrak.cpp @@ -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; -- cgit v1.2.3