Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dead code

  • Loading branch information...
commit ccf50f4c3d583132ac736e0ec44a1ba5ad3c3b32 1 parent b1c4e82
Andrew Vermie vermie authored Machiavell1 committed
1  src/server/game/Chat/Channels/Channel.cpp
View
@@ -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
3  src/server/game/Entities/Creature/GossipDef.cpp
View
@@ -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;
}
1  src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
View
@@ -226,7 +226,6 @@ class npc_tyrande_whisperwind : public CreatureScript
player->SendNewItem(item, 1, true, false, true);
}
player->SEND_GOSSIP_MENU(907, creature->GetGUID());
- CAST_AI(hyjalAI, creature->AI());
}
return true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.