Warning fixes and some random cleanup here and there

This commit is contained in:
Spp committed 2012-03-07 14:09:18 +01:00
1 parent e5d23103f3
commit f495e0efe4
123 files changed
+682 -800

No files matched your search

@@ -51,10 +51,10 @@ class npc_ragged_john : public CreatureScript
public:
npc_ragged_john() : CreatureScript("npc_ragged_john") { }
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 uiAction)
bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action)
{
player->PlayerTalkClass->ClearMenus();
switch (uiAction)
switch (action)
{
case GOSSIP_ACTION_INFO_DEF:
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_SELECT1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
@@ -147,7 +147,6 @@ public:
void EnterCombat(Unit* /*who*/) {}
};
};
void AddSC_burning_steppes()