Missed one spot in previous commit.
This commit is contained in:
parent
fb4c90dde9
commit
f29f343b86
@ -978,7 +978,7 @@ void WorldObject::Relocate(float x, float y, float z, float orientation)
|
|||||||
m_position.x = x;
|
m_position.x = x;
|
||||||
m_position.y = y;
|
m_position.y = y;
|
||||||
m_position.z = z;
|
m_position.z = z;
|
||||||
m_position.o = orientation;
|
m_position.o = MapManager::NormalizeOrientation(orientation);
|
||||||
|
|
||||||
if (isType(TYPEMASK_UNIT))
|
if (isType(TYPEMASK_UNIT))
|
||||||
{ ((Unit*)this)->m_movementInfo.ChangePosition(x, y, z, orientation); }
|
{ ((Unit*)this)->m_movementInfo.ChangePosition(x, y, z, orientation); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user