mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11973] Various Cleanups
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
c243c42c3c
commit
f3f3349661
50 changed files with 153 additions and 134 deletions
|
|
@ -959,7 +959,7 @@ void WorldObject::Relocate(float x, float y, float z, float orientation)
|
|||
m_position.z = z;
|
||||
m_position.o = orientation;
|
||||
|
||||
if(isType(TYPEMASK_UNIT))
|
||||
if (isType(TYPEMASK_UNIT))
|
||||
((Unit*)this)->m_movementInfo.ChangePosition(x, y, z, orientation);
|
||||
}
|
||||
|
||||
|
|
@ -969,7 +969,7 @@ void WorldObject::Relocate(float x, float y, float z)
|
|||
m_position.y = y;
|
||||
m_position.z = z;
|
||||
|
||||
if(isType(TYPEMASK_UNIT))
|
||||
if (isType(TYPEMASK_UNIT))
|
||||
((Unit*)this)->m_movementInfo.ChangePosition(x, y, z, GetOrientation());
|
||||
}
|
||||
|
||||
|
|
@ -977,7 +977,7 @@ void WorldObject::SetOrientation(float orientation)
|
|||
{
|
||||
m_position.o = orientation;
|
||||
|
||||
if(isType(TYPEMASK_UNIT))
|
||||
if (isType(TYPEMASK_UNIT))
|
||||
((Unit*)this)->m_movementInfo.ChangeOrientation(orientation);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue