Skip to content
Engine/Duke3D: Several changes to TROR traversal in clipping functions
Check out branch
requested to merge
Sep 17, 2023
clipmove() - No longer traverses sectors once a distance limit is exceeded, and at most traverses 64 TROR sectors at once.
hitscan() - TROR sectors added to clipsectlist after regular next sectors. Only adds TROR sectors in a single direction, and at most 64 at once.
A_RadiusDamage - only add TROR sectors if inside damage radius. Also increase MAXDAMAGESECTORS to 512, same as MAXCLIPSECTORS.
Fixes glitches and error spam in maps that make heavy use of TROR.
Merge request reports