anura-engine / anura

Anura Engine
Other
384 stars 78 forks source link

Backport: fix a collision state issue with objects #363

Closed Rotonen closed 1 year ago

Rotonen commented 1 year ago

Backported off v4 from the work of @rkettering.

Fixing an issue where objects which were in a fatal collision state with other objects were not throwing the FFL exception that they're supposed to throw to allow us to gracefully recover, and were instead just asserting the game. Notably, this was causing a frogatto issue when moth bombers would drop a bomb through other moth bombers, and assert if said bomb overlapped another one as it was spawned.