From 2bf65c91083c664548f31d47f9f10f1209371ddf Mon Sep 17 00:00:00 2001 From: nukeykt Date: Tue, 3 Mar 2020 12:18:10 +0900 Subject: [PATCH] Exhumed: Use old ksqrt implementation --- source/build/src/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 49f9a7687..6071906d4 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -9020,6 +9020,8 @@ int32_t LUNATIC_FASTCALL getangle(int32_t xvect, int32_t yvect) // int32_t ksqrt(uint32_t num) { + if (enginecompatibility_mode == ENGINECOMPATIBILITY_19950829) + return ksqrtasm_old(num); return nsqrtasm(num); }