This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and enable CMSG_AREA_SPIRIT_HEALER_QUERY
Signed-off-by: AlterEgo <[email protected]>
- Loading branch information
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2048,9 +2048,14 @@ void WorldSession::HandleAreaSpiritHealerQueryOpcode(WorldPacket& recvData) | |
SF_LOG_DEBUG("network", "WORLD: CMSG_AREA_SPIRIT_HEALER_QUERY"); | ||
|
||
Battleground* bg = _player->GetBattleground(); | ||
|
||
ObjectGuid guid; | ||
|
||
recvData.ReadGuidMask(guid, 5, 6, 0, 4, 1, 2, 7, 3); | ||
uint8 bitOrder[8] = { 5, 6, 0, 4, 1, 2, 7, 3 }; | ||
recvData.ReadBitInOrder(guid, bitOrder); | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
recvData.FlushBits(); | ||
This comment has been minimized.
Sorry, something went wrong.
AriDEV3
Contributor
|
||
|
||
recvData.ReadGuidBytes(guid, 0, 2, 6, 7, 1, 5, 3, 4); | ||
|
||
Creature* unit = GetPlayer()->GetMap()->GetCreature(guid); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReadGuidMask is exactly the same you wrote in 2 lines.