mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[0072] Fix world teleport and use normalized orientation in some more places
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
d861cd0d3a
commit
b4d97ccf77
11 changed files with 663 additions and 462 deletions
|
|
@ -139,6 +139,9 @@ void WorldSession::SendPacket(WorldPacket const* packet)
|
|||
return;
|
||||
}
|
||||
|
||||
sLog.outError("SESSION: sent packet 0x%.4X (%s) to %s (%u)", packet->GetOpcode(),
|
||||
LookupOpcodeName(packet->GetOpcode()), GetPlayerName(), GetAccountId());
|
||||
|
||||
const_cast<WorldPacket*>(packet)->FlushBits();
|
||||
|
||||
#ifdef MANGOS_DEBUG
|
||||
|
|
@ -219,6 +222,9 @@ bool WorldSession::Update(PacketFilter& updater)
|
|||
packet->GetOpcode());
|
||||
#endif*/
|
||||
|
||||
sLog.outError("SESSION: received packet 0x%.4X (%s) from %s (%u)", packet->GetOpcode(),
|
||||
LookupOpcodeName(packet->GetOpcode()), GetPlayerName(), GetAccountId());
|
||||
|
||||
OpcodeHandler const& opHandle = opcodeTable[packet->GetOpcode()];
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue