From 382fef1958b252586cf9a9fa388b4dfe6bddefb0 Mon Sep 17 00:00:00 2001 From: Spp Date: Wed, 15 Dec 2010 10:44:06 +0100 Subject: Core: Some warning fixes --HG-- branch : trunk --- src/server/scripts/Northrend/borean_tundra.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/Northrend/borean_tundra.cpp b/src/server/scripts/Northrend/borean_tundra.cpp index ce462b96f9e..413e4192144 100644 --- a/src/server/scripts/Northrend/borean_tundra.cpp +++ b/src/server/scripts/Northrend/borean_tundra.cpp @@ -2375,9 +2375,9 @@ enum eHiddenCultist SAY_HIDDEN_CULTIST_4 = -1571047 }; -#define GOSSIP_ITEM_TOM_HEGGER "What do you know about the Cult of the Damned?" -#define GOSSIP_ITEM_GUARD_MITCHELLS "How long have you worked for the Cult of the Damned?" -#define GOSSIP_ITEM_SALTY_JOHN_THORPE "I have a reason to believe you're involved in the cultist activity" +const char* GOSSIP_ITEM_TOM_HEGGER = "What do you know about the Cult of the Damned?"; +const char* GOSSIP_ITEM_GUARD_MITCHELLS = "How long have you worked for the Cult of the Damned?"; +const char* GOSSIP_ITEM_SALTY_JOHN_THORPE = "I have a reason to believe you're involved in the cultist activity"; class npc_hidden_cultist : public CreatureScript { @@ -2515,7 +2515,7 @@ public: bool OnGossipHello(Player* pPlayer, Creature* pCreature) { uint32 uiGossipText = 0; - char* charGossipItem = ""; + const char* charGossipItem; switch(pCreature->GetEntry()) { @@ -2532,6 +2532,7 @@ public: charGossipItem = GOSSIP_ITEM_GUARD_MITCHELLS; break; default: + charGossipItem = ""; return false; } -- cgit v1.2.3