diff options
-rw-r--r-- | src/server/game/Entities/GameObject/GameObject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h index fd06e490ec9..a12e96572da 100644 --- a/src/server/game/Entities/GameObject/GameObject.h +++ b/src/server/game/Entities/GameObject/GameObject.h @@ -120,6 +120,7 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject<GameObject> 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 |