mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[9184] Fixed unread packet tail spam for CMSG_LEAVE_BATTLEFIELD
This commit is contained in:
parent
ed06932361
commit
1adcf67349
2 changed files with 6 additions and 7 deletions
|
|
@ -451,15 +451,14 @@ void WorldSession::HandleBattleFieldPortOpcode( WorldPacket &recv_data )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::HandleLeaveBattlefieldOpcode( WorldPacket & /*recv_data*/ )
|
void WorldSession::HandleLeaveBattlefieldOpcode( WorldPacket& recv_data )
|
||||||
{
|
{
|
||||||
sLog.outDebug( "WORLD: Recvd CMSG_LEAVE_BATTLEFIELD Message");
|
sLog.outDebug( "WORLD: Recvd CMSG_LEAVE_BATTLEFIELD Message");
|
||||||
|
|
||||||
//uint8 unk1, unk2;
|
recv_data.read_skip<uint8>(); // unk1
|
||||||
//uint32 bgTypeId; // id from DBC
|
recv_data.read_skip<uint8>(); // unk2
|
||||||
//uint16 unk3;
|
recv_data.read_skip<uint32>(); // BattleGroundTypeId
|
||||||
|
recv_data.read_skip<uint16>(); // unk3
|
||||||
//recv_data >> unk1 >> unk2 >> bgTypeId >> unk3; - no used currently
|
|
||||||
|
|
||||||
//if(bgTypeId >= MAX_BATTLEGROUND_TYPES) // cheating? but not important in this case
|
//if(bgTypeId >= MAX_BATTLEGROUND_TYPES) // cheating? but not important in this case
|
||||||
// return;
|
// return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9183"
|
#define REVISION_NR "9184"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue