aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnubisss <none@none>2010-05-06 14:58:45 +0200
committerAnubisss <none@none>2010-05-06 14:58:45 +0200
commita5fc22895e73e9c46159a0979fe20e28b5c19d42 (patch)
tree61f9223592e60e1792b3e071c79ac0c1ba983632 /src
parentb45e55fde91d95a53119d1e03e3a93dcc4374087 (diff)
Correctly allocate memory for script npc_crusade_recruit. Bug found by hunteee.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/northrend/zuldrak.cpp1
1 files changed, 1 insertions, 0 deletions
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;