[11973] Various Cleanups

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
stfx 2012-04-22 19:41:24 +02:00 committed by Schmoozerd
parent c243c42c3c
commit f3f3349661
50 changed files with 153 additions and 134 deletions

View file

@ -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);
}