*Implement SPELL_EFFECT_DISCOVER_TAXI(154).

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-20 18:27:18 +02:00
parent b59b21fa69
commit a7c52864b4
5 changed files with 23 additions and 3 deletions
@@ -157,6 +157,15 @@ bool WorldSession::SendLearnNewTaxiNode(Creature* unit)
return false;
}
void WorldSession::SendDiscoverNewTaxiNode(uint32 nodeid)
{
if (GetPlayer()->m_taxi.SetTaximaskNode(nodeid))
{
WorldPacket msg(SMSG_NEW_TAXI_PATH, 0);
SendPacket(&msg);
}
}
void WorldSession::HandleActivateTaxiExpressOpcode (WorldPacket & recv_data)
{
sLog.outDebug("WORLD: Received CMSG_ACTIVATETAXIEXPRESS");