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);