Fix checking sensors flags in TKraft.BuildIsland #24

Closed
and3md wants to merge 1 commit from sensors_fix into master
and3md commented 2022-08-02 10:47:28 +00:00 (Migrated from github.com)

This PR, fixed crash after add new body and contact with sensor (when sensor is set in rigid body flags).

You can reproduce the bug in platformer example in https://github.com/castle-engine/castle-engine when you change kraft.pas in src/physics/kraft to upstream version. After starting the game make a shoot and try get a coin -> crash in kraft.

This PR, fixed crash after add new body and contact with sensor (when sensor is set in rigid body flags). You can reproduce the bug in platformer example in https://github.com/castle-engine/castle-engine when you change kraft.pas in src/physics/kraft to upstream version. After starting the game make a shoot and try get a coin -> crash in kraft.

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BeRo1985/kraft!24
No description provided.