diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 4c13b58f27..d148bd30a9 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -240,7 +240,7 @@ public: G3D::Quat rotation = next; - if (prev != next) + if (!(prev == next)) // @todo: use != operator when C++20 has been enabled { float animProgress = float(newProgress - oldRotation->TimeIndex) / float(newRotation->TimeIndex - oldRotation->TimeIndex);