From e6031654f27785debc6adcbdfa56bcc973f6a134 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 22 Apr 2020 01:05:52 +0200 Subject: [PATCH] - uncommented the compatibility case in updatesector. In the RedNukem frontend this was causing view interpolation glitches, this probably should be disabled a bit more targeted but right now I do not know yet which call causes the problem --- 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 0248c3076..09de9bde9 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -4676,6 +4676,7 @@ int findwallbetweensectors(int sect1, int sect2) // void updatesector(int32_t const x, int32_t const y, int16_t * const sectnum) { +#if 0 if (enginecompatibility_mode != ENGINECOMPATIBILITY_NONE) { if (inside_p(x, y, *sectnum)) @@ -4697,6 +4698,7 @@ void updatesector(int32_t const x, int32_t const y, int16_t * const sectnum) } } else +#endif { int16_t sect = *sectnum; updatesectorneighbor(x, y, §, INITIALUPDATESECTORDIST, MAXUPDATESECTORDIST);