Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/PacketIO: Update SMSG_ACTIVATE_TAXI_REPLY
Browse files Browse the repository at this point in the history
  • Loading branch information
Artamedes committed Mar 31, 2019
1 parent c2f4dd2 commit dfa446f
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/server/game/Handlers/TaxiHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,8 @@ void WorldSession::HandleActivateTaxiOpcode(WorldPacket& recvData)

void WorldSession::SendActivateTaxiReply(ActivateTaxiReply reply)
{
ObjectGuid guid(_player->GetGUID());

WorldPacket data(SMSG_ACTIVATE_TAXI_REPLY, 1 + 1 + 8);
data.WriteGuidMask(guid, 2, 7);
data.WriteBit(!reply);
data.WriteGuidMask(guid, 0, 3, 6, 5, 1, 4);
WorldPacket data(SMSG_ACTIVATE_TAXI_REPLY, 4);
data.WriteBits(reply, 4);
data.FlushBits();
data.WriteGuidBytes(guid, 1, 5, 7, 4, 2, 6, 3, 0);

SendPacket(&data);

SF_LOG_DEBUG("network", "WORLD: Sent SMSG_ACTIVATE_TAXI_REPLY");
}

0 comments on commit dfa446f

Please sign in to comment.