aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraczman <none@none>2009-03-30 17:40:47 +0200
committerraczman <none@none>2009-03-30 17:40:47 +0200
commite097f358a198b086d2960f774ac1da148b8b3c54 (patch)
tree3a99f7adaa8e070577cc68307a518bb7011bc43d /src
parente0637c6c20703b8f46558c5dfc54eaeffea21613 (diff)
Fix build after importing Kudlaty's script.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/terokkar_forest/terokkar_forest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/scripts/scripts/zone/terokkar_forest/terokkar_forest.cpp b/src/bindings/scripts/scripts/zone/terokkar_forest/terokkar_forest.cpp
index b3a42bb2e5e..a9535357842 100644
--- a/src/bindings/scripts/scripts/zone/terokkar_forest/terokkar_forest.cpp
+++ b/src/bindings/scripts/scripts/zone/terokkar_forest/terokkar_forest.cpp
@@ -499,7 +499,7 @@ CreatureAI* GetAI_npc_isla_starmaneAI(Creature *_Creature)
#define GOSSIP_S_GEZZARAK_THE_HUNTRESS "Summon Gezzarak the Huntress"
#define GOSSIP_S_VAKKIZ_THE_WINDRAGER "Summon Vakkiz the Windrager"
-bool GOHello_go_skull_pile(Player *player, GameObject* _GO)
+bool GossipHello_go_skull_pile(Player *player, GameObject* _GO)
{
if (player->GetQuestStatus(11885) == QUEST_STATUS_INCOMPLETE)
{
@@ -509,7 +509,7 @@ bool GOHello_go_skull_pile(Player *player, GameObject* _GO)
player->ADD_GOSSIP_ITEM(4, GOSSIP_S_VAKKIZ_THE_WINDRAGER, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 4);
}
- player->SEND_GOSSIP_MENU(_GO->GetGoTextId(), _GO->GetGUID());
+ player->SEND_GOSSIP_MENU(_GO->GetGOInfo()->questgiver.gossipID, _GO->GetGUID());
return true;
}
@@ -585,8 +585,8 @@ void AddSC_terokkar_forest()
newscript = new Script;
newscript->Name="go_skull_pile";
- newscript->pGossipHello = &GossipHello_go_skull_pile;
- newscript->pGossipSelect = &GossipSelect_go_skull_pile;
+ newscript->pGOHello = &GossipHello_go_skull_pile;
+ newscript->pGOSelect = &GossipSelect_go_skull_pile;
newscript->RegisterSelf();
}