raze/source/build/include
Christoph Oelckers 64cad55d73 - fixed updatesector and changed updatesectorz to use the same search algorithm.
The initial distance check in updatesectorneighbor had a far too low threshold which would skip the breadth-first search for relatively small distances already.
Exhumed's LEV1 and Duke's Lunatic Fringe were the most obvious candidates where this could cause problems.
Changed to use a mixture of the original updatesector with the revised algorithm so that all immediate neighbors of the start sector will get visited unconditionally.

updatesectorz was still the original function from Shadow Warrior, this also was changed to use the same algorithm as uodatesector.
2021-11-30 00:15:25 +01:00
..
build.h - fixed updatesector and changed updatesectorz to use the same search algorithm. 2021-11-30 00:15:25 +01:00
buildtypes.h - Exhumed: wall stuff in AddFlash 2021-11-29 00:56:24 +01:00
clip.h - use sectnum and wallnum to get an index from pointers instead of subtracting the array base. 2021-11-29 00:56:26 +01:00
compat.h - moved bitmap_set and bitmap_test into clip.cpp and deleted unused inside_exclude_p function. 2021-11-29 00:55:45 +01:00
mdsprite.h - Cleanup of the voxel code. 2021-04-05 18:05:43 +02:00
polymost.h - removed magic flags added to sector indices in Polymost. 2021-11-11 21:28:53 +01:00
prlights.h The great repository rearrangement of 2017. 2017-02-01 10:01:11 +00:00