mirror of
https://github.com/open-goal/jak-project
synced 2026-05-29 08:43:08 -04:00
97e04a7612
Fixes missing collision geometry reported in https://github.com/open-goal/jak-project/issues/3011 The issue happens when there are 256 polygons. In this case `num-polys` is 0 (it's a u8). There are actual cases where there are 0 polygons, so we have to do a more complicated check to get the real count. I should have done this in the first place, but it seemed to work...