mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
64cad55d73
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. |
||
---|---|---|
.. | ||
include | ||
src |