[Fix] Fix incorrect enum in previous commit

This commit is contained in:
Antz 2015-04-03 23:36:37 +01:00 committed by Antz
parent 9217fbf53e
commit 43bbfeae1d

View File

@ -264,7 +264,7 @@ void Object::BuildMovementUpdate(ByteBuffer* data, uint8 updateFlags) const
float x, y, z; float x, y, z;
if (m_objectTypeId == TYPEID_UNIT && ((Unit*)this)->GetMotionMaster()->GetDestination(x, y, z)) if (m_objectTypeId == TYPEID_UNIT && ((Unit*)this)->GetMotionMaster()->GetDestination(x, y, z))
{ {
moveFlags |= MOVEFLAG_WALK_MODE | MOVEFLAG_MOVE_FORWARD | MOVEFLAG_SPLINE_ENABLED; moveFlags |= MOVEFLAG_WALK_MODE | MOVEFLAG_FORWARD | MOVEFLAG_SPLINE_ENABLED;
} }
*data << uint32(moveFlags); // movement flags *data << uint32(moveFlags); // movement flags