diff options
author | XTZGZoReX <none@none> | 2010-02-28 19:08:40 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-02-28 19:08:40 +0100 |
commit | 2383c5b79e36f55ecf020fc1d2e1e33778faca29 (patch) | |
tree | 76f53c56a83862e44b7bb32bc0e8362898e9a749 /src/game/Player.cpp | |
parent | ac48523b142a57333f133f7949d727ff106ce383 (diff) |
* Fix SMSG_TRANSFER_ABORTED. Don't modify packet structures unless you actually verify them...
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 73fedb9d7fe..9c1001e28a8 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20367,7 +20367,7 @@ void Player::SendUpdateToOutOfRangeGroupMembers() pet->ResetAuraUpdateMaskForRaid(); } -void Player::SendTransferAborted(uint32 mapid, uint8 reason, uint8 arg) +void Player::SendTransferAborted(uint32 mapid, TransferAbortReason reason, uint8 arg) { WorldPacket data(SMSG_TRANSFER_ABORTED, 4+2); data << uint32(mapid); @@ -20377,8 +20377,7 @@ void Player::SendTransferAborted(uint32 mapid, uint8 reason, uint8 arg) case TRANSFER_ABORT_INSUF_EXPAN_LVL: case TRANSFER_ABORT_DIFFICULTY: case TRANSFER_ABORT_UNIQUE_MESSAGE: - case TRANSFER_ABORT_ZONE_IN_COMBAT: - case TRANSFER_ABORT_MAX_PLAYERS: + // these are the ONLY cases that have an extra argument in the packet!!! data << uint8(arg); break; } |