- 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
This commit is contained in:
Christoph Oelckers 2020-04-22 01:05:52 +02:00
parent b21a4d5880
commit e6031654f2

View file

@ -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, &sect, INITIALUPDATESECTORDIST, MAXUPDATESECTORDIST);