Permalink
Browse files

dead code

  • Loading branch information...
1 parent b1c4e82 commit ccf50f4c3d583132ac736e0ec44a1ba5ad3c3b32 @vermie vermie committed with Machiavell1 Mar 20, 2012
View
1 src/server/game/Chat/Channels/Channel.cpp
@@ -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
View
3 src/server/game/Entities/Creature/GossipDef.cpp
@@ -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;
}
View
1 src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
@@ -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;
}

0 comments on commit ccf50f4

Please sign in to comment.