From a36cb45421bf6e3baaf958c7cc93712f0058d57b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 3 Jan 2023 09:01:37 +1100 Subject: [PATCH] - Blood: Add `VanillaMode()` test to previous commit. --- source/games/blood/src/triggers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/blood/src/triggers.cpp b/source/games/blood/src/triggers.cpp index 83e20f6fc..c60d466fd 100644 --- a/source/games/blood/src/triggers.cpp +++ b/source/games/blood/src/triggers.cpp @@ -49,7 +49,7 @@ double GetWaveValue(unsigned int nPhase, int nType) case 2: return 1.0 - BobVal((nPhase / 128.) + 512); case 3: - return (1. + BobVal(-512. + (nPhase / 64.))) * 0.5; + return !VanillaMode() ? (1. + BobVal(-512. + (nPhase / 64.))) * 0.5 : BobVal(nPhase / 128.); } return nPhase; }