Core: Fix some codestyle

This commit is contained in:
Vincent_Michael committed 2012-12-25 02:56:19 +01:00
1 parent fa5f2b4c60
commit 6e921feebd
4 files changed
+7 -8

No files matched your search

+2 -3
View File
@@ -17333,11 +17333,10 @@ void Unit::NearTeleportTo(float x, float y, float z, float orientation, bool cas
void Unit::SendTeleportPacket(Position& pos)
{
Position oldPos = {GetPositionX(), GetPositionY(), GetPositionZMinusOffset(), GetOrientation()};
Position oldPos = { GetPositionX(), GetPositionY(), GetPositionZMinusOffset(), GetOrientation() };
if (GetTypeId() == TYPEID_UNIT)
{
Relocate(&pos);
}
WorldPacket data2(MSG_MOVE_TELEPORT, 38);
data2.append(GetPackGUID());
BuildMovementPacket(&data2);