drawDebugGrid in MapRenderer when RENDER_DEBUG_GRID=3 is drawing the incorrect grid size, or it's offset somehow and not aligning with the actual preset bounds. I think this is an error I made when calculating the modulus. The bug show up in the Den of Evil zone and works as expected in the default zones (zones branching from 0,0.
Double checked and yes. The bounds are calculated from 0,0 and not from the zone's origin tx,ty, so it's offset because DOE is not aligned on the same grid size as the origin.
drawDebugGrid
inMapRenderer
whenRENDER_DEBUG_GRID=3
is drawing the incorrect grid size, or it's offset somehow and not aligning with the actual preset bounds. I think this is an error I made when calculating the modulus. The bug show up in the Den of Evil zone and works as expected in the default zones (zones branching from0,0
.Double checked and yes. The bounds are calculated from
0,0
and not from the zone's origintx,ty
, so it's offset because DOE is not aligned on the same grid size as the origin.