diff --git a/r5dev/mathlib/vmatrix.cpp b/r5dev/mathlib/vmatrix.cpp index 5400d8ba..7e7183f6 100644 --- a/r5dev/mathlib/vmatrix.cpp +++ b/r5dev/mathlib/vmatrix.cpp @@ -1006,13 +1006,6 @@ void MatrixBuildRotation(VMatrix& dst, const Vector3D& initialDirection, const V } MatrixBuildRotationAboutAxis(dst, axis, angle); - -#ifdef _DEBUG - Vector test; - Vector3DMultiply(dst, initialDirection, test); - test -= finalDirection; - Assert(test.LengthSqr() < 1e-3); -#endif } //----------------------------------------------------------------------------- diff --git a/r5dev/tier0/dbg.cpp b/r5dev/tier0/dbg.cpp index 44a2f672..115dc451 100644 --- a/r5dev/tier0/dbg.cpp +++ b/r5dev/tier0/dbg.cpp @@ -28,12 +28,7 @@ std::mutex s_LogMutex; //----------------------------------------------------------------------------- bool HushAsserts() { -#ifdef DBGFLAG_ASSERT - static bool s_bHushAsserts = !!CommandLine()->FindParm("-hushasserts"); - return s_bHushAsserts; -#else return true; -#endif } //-----------------------------------------------------------------------------