Core: Fix some codestyle
This commit is contained in:
1 parent
fa5f2b4c60
commit
6e921feebd
4 files changed
+7
-8
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user