dead code

This commit is contained in:
faramir118
2012-04-11 20:01:27 +02:00
committed by Machiavelli
parent b1c4e8202e
commit ccf50f4c3d
3 changed files with 0 additions and 5 deletions
@@ -49,7 +49,6 @@ Channel::Channel(const std::string& name, uint32 channel_id, uint32 Team)
}
else // it's custom channel
{
channel_id = 0;
m_flags |= CHANNEL_FLAG_CUSTOM;
// If storing custom channels in the db is enabled either load or save the channel
@@ -47,10 +47,7 @@ void GossipMenu::AddMenuItem(int32 menuItemId, uint8 icon, std::string const& me
for (GossipMenuItemContainer::const_iterator itr = _menuItems.begin(); itr != _menuItems.end(); ++itr)
{
if (int32(itr->first) > menuItemId)
{
menuItemId = menuItemId;
break;
}
menuItemId = itr->first + 1;
}
@@ -226,7 +226,6 @@ public:
player->SendNewItem(item, 1, true, false, true);
}
player->SEND_GOSSIP_MENU(907, creature->GetGUID());
CAST_AI(hyjalAI, creature->AI());
}
return true;
}