*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");
+1
View File
@@ -256,6 +256,7 @@ class WorldSession
void SendTaxiMenu(Creature* unit);
void SendDoFlight(uint32 mountDisplayId, uint32 path, uint32 pathNode = 0);
bool SendLearnNewTaxiNode(Creature* unit);
void SendDiscoverNewTaxiNode(uint32 nodeid);
// Guild/Arena Team
void SendGuildCommandResult(uint32 typecmd, const std::string& str, uint32 cmdresult);