[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:
Yaki Khadafi 2012-08-13 12:46:10 +03:00 committed by Antz
parent d861cd0d3a
commit b4d97ccf77
11 changed files with 663 additions and 462 deletions

View file

@ -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
{