Update src/server/game/Server/WorldSession.cpp

This commit is contained in:
Machiavelli
2012-03-17 11:54:56 +01:00
parent 5d2d2a5ac7
commit 87a121425c

View File

@@ -810,8 +810,8 @@ void WorldSession::ReadMovementInfo(WorldPacket &data, MovementInfo* mi)
//! Anti-cheat checks. Please keep them in seperate if() blocks to maintain a clear overview.
#define VIOLATE_AND_RETURN \
{ \
sLog->outDebug(LOG_FILTER_UNITS, "WorldSession::ReadMovementInfo: Violation of MovementFlags found. "
"MovementFlags: %u, MovementFlags2: %u for player GUID: %u. Player will not be relocated.",
sLog->outDebug(LOG_FILTER_UNITS, "WorldSession::ReadMovementInfo: Violation of MovementFlags found. " \
"MovementFlags: %u, MovementFlags2: %u for player GUID: %u. Player will not be relocated.", \
mi->GetMovementFlags(), mi->GetExtraMovementFlags(), GetPlayer()->GetGUIDLow()); \
mi->Violated = true; \
return; \