skip wall offsets < 0 (#255)

Fixes #255
This commit is contained in:
thecozies
2021-12-28 12:26:32 -06:00
committed by GitHub
parent d71063f270
commit 34b0eba5c1

View File

@@ -108,7 +108,7 @@ static s32 find_wall_collisions_from_list(struct SurfaceNode *surfaceNode, struc
goto hasCollision;
edge_1_2:
// if (offset < 0) continue;
if (offset < 0) continue;
CALC_OFFSET(v0, goto edge_1_3);
edge_1_3: