nukeykt / NBlood

Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)
621 stars 78 forks source link

Blood: Fix shadows crashing when rendered in mirrors #862

Closed tmyqlfpir closed 2 weeks ago

tmyqlfpir commented 3 weeks ago

This PR fixes crashes when attempting to render shadows in mirror sectors, and improves the overall robustness for testing fake floors below the object casting a shadow. I've tested this with Bloodlines E1M1's fake floor, and Blood E2M5's fake floor in the house lobby.

The below pic would crash with the currently released build, this has since been fixed.

mirrors