diff options
author | click <none@none> | 2010-08-17 10:44:41 +0200 |
---|---|---|
committer | click <none@none> | 2010-08-17 10:44:41 +0200 |
commit | feb71c4b7d5bd161c658793471924fe037bf26a0 (patch) | |
tree | 0e85edbe65049ea2c5382819bed356dc6084081d | |
parent | 05795303f48709440aeb700ce41b7a40a4b068bd (diff) |
Core/Scripts: Fix some typos in a few scripts - thanks to Kierkegaard
Fixes issue 3443
Comment 3446 test if has been sorted now
--HG--
branch : trunk
3 files changed, 6 insertions, 6 deletions
diff --git a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp index 37a466dd915..a228bef2d09 100644 --- a/src/server/scripts/Northrend/VioletHold/violet_hold.cpp +++ b/src/server/scripts/Northrend/VioletHold/violet_hold.cpp @@ -253,7 +253,7 @@ class npc_sinclari_vh : public CreatureScript public: npc_sinclari_vh() : CreatureScript("npc_sinclari_vh") { } - bool GossipSelect_npc_sinclari(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction) + bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction) { switch(uiAction) { @@ -274,7 +274,7 @@ public: return true; } - bool GossipHello_npc_sinclari(Player* pPlayer, Creature* pCreature) + bool OnGossipHello(Player* pPlayer, Creature* pCreature) { if (InstanceScript* pInstance = pCreature->GetInstanceScript()) { @@ -543,7 +543,7 @@ class npc_teleportation_portal_vh : public CreatureScript public: npc_teleportation_portal_vh() : CreatureScript("npc_teleportation_portal_vh") { } - CreatureAI* GetAI_npc_teleportation_portal(Creature *pCreature) const + CreatureAI* GetAI(Creature *pCreature) const { return new npc_teleportation_portalAI(pCreature); } diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp index 869c37af946..ae095960278 100644 --- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp +++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp @@ -1798,7 +1798,7 @@ public: } }; - bool GossipSelect_npc_akama_at_illidan(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction) + bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 /*uiSender*/, uint32 uiAction) { if (uiAction == GOSSIP_ACTION_INFO_DEF) // Time to begin the Event { @@ -1808,7 +1808,7 @@ public: return true; } - bool GossipHello_npc_akama_at_illidan(Player* pPlayer, Creature* pCreature) + bool OnGossipHello(Player* pPlayer, Creature* pCreature) { pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF); pPlayer->SEND_GOSSIP_MENU(10465, pCreature->GetGUID()); diff --git a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp index 3caf9c1bad0..42eb6c2a8d6 100644 --- a/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp +++ b/src/server/scripts/Outland/TempestKeep/botanica/boss_laj.cpp @@ -211,7 +211,7 @@ class boss_laj : public CreatureScript } }; - CreatureAI* GetAI_boss_laj(Creature* Creature) const + CreatureAI* GetAI(Creature* Creature) const { return new boss_lajAI (Creature); } |