From 79b3e10f2ae0f7eef46ba33eeda70844a823acff Mon Sep 17 00:00:00 2001 From: Mitch Richters Date: Sat, 30 Oct 2021 17:25:10 +1100 Subject: [PATCH] - Blood: Replace internals of `Sin()` to use `sintable[]` array instead of `costable[]` array. --- source/games/blood/src/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/blood/src/misc.h b/source/games/blood/src/misc.h index 681051e20..46ddb1529 100644 --- a/source/games/blood/src/misc.h +++ b/source/games/blood/src/misc.h @@ -75,7 +75,7 @@ void trigInit(); inline int Sin(int ang) { - return costable[(ang - 512) & 2047]; + return sintable[ang & 2047]; } inline int Cos(int ang)