Exhumed: Use old ksqrt implementation

This commit is contained in:
nukeykt 2020-03-03 12:18:10 +09:00 committed by Christoph Oelckers
parent bdca9420f5
commit 2bf65c9108

View file

@ -9020,6 +9020,8 @@ int32_t LUNATIC_FASTCALL getangle(int32_t xvect, int32_t yvect)
// //
int32_t ksqrt(uint32_t num) int32_t ksqrt(uint32_t num)
{ {
if (enginecompatibility_mode == ENGINECOMPATIBILITY_19950829)
return ksqrtasm_old(num);
return nsqrtasm(num); return nsqrtasm(num);
} }