diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h index 8931829538a..9f0562aa7b8 100644 --- a/src/server/game/Entities/GameObject/GameObject.h +++ b/src/server/game/Entities/GameObject/GameObject.h @@ -108,6 +108,7 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject void SetWorldRotationAngles(float z_rot, float y_rot, float x_rot); void SetWorldRotation(float qx, float qy, float qz, float qw); void SetParentRotation(QuaternionData const& rotation); // transforms(rotates) transport's path + QuaternionData const& GetWorldRotation() const { return m_worldRotation; } int64 GetPackedWorldRotation() const { return m_packedRotation; } // overwrite WorldObject function for proper name localization