diff --git a/stepmania/src/RageMath.cpp b/stepmania/src/RageMath.cpp index 49efe58edd..44d4942f10 100644 --- a/stepmania/src/RageMath.cpp +++ b/stepmania/src/RageMath.cpp @@ -444,7 +444,8 @@ void RageQuatSlerp(RageVector4 *pOut, const RageVector4 &from, const RageVector4 // calculate coefficients float scale0, scale1; - if ( 1.0f - cosom > 0 ) { + if ( cosom < 0.9999f ) + { // standard case (slerp) float omega = acosf(cosom); float sinom = sinf(omega);