mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
This fixes the exceptions that were caused by loading ported bsps with replaced models CStaticProp::Init was using static prop lump data to request non-existent skins due to the replaced models, causing invalid material pointers to be fetched. When encountered, these skins will be forced to 0 and an error will be printed. Ideally these issues are fixed from within the bsp file before they are shipped.