From 22d6e3f2f6b7370296bd7a1cf653118001bd24dd Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 29 May 2022 23:20:09 +0200 Subject: [PATCH] - SW: added interpolation for sine wave floors. --- source/games/sw/src/sector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/games/sw/src/sector.cpp b/source/games/sw/src/sector.cpp index 486040270..8d20598e0 100644 --- a/source/games/sw/src/sector.cpp +++ b/source/games/sw/src/sector.cpp @@ -472,6 +472,8 @@ void SectorSetup(void) // set the first on up swf = &SineWaveFloor[NextSineWave][swf_ndx]; + if (tag != TAG_SINE_WAVE_CEILING) StartInterpolation(sectp, Interp_Sect_Floorz); + if (tag != TAG_SINE_WAVE_FLOOR) StartInterpolation(sectp, Interp_Sect_Ceilingz); swf->flags = 0;