aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.h
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-17 09:17:10 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-17 09:17:10 +0100
commit5995e40f583ef281468866954f6f82c71ab43453 (patch)
tree59c04d876f1dd5719c3d5f3f381bd8a453bc57c9 /src/crepe/api/Rigidbody.h
parent676392f786ee93280b781ead8417cc8345cb7fd0 (diff)
parentcc2ec343367ebaa3b6a6142532f7a067c3c981a1 (diff)
Merge remote-tracking branch 'origin/master' into max/game
Diffstat (limited to 'src/crepe/api/Rigidbody.h')
-rw-r--r--src/crepe/api/Rigidbody.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/Rigidbody.h b/src/crepe/api/Rigidbody.h
index b08c8db..6900295 100644
--- a/src/crepe/api/Rigidbody.h
+++ b/src/crepe/api/Rigidbody.h
@@ -139,7 +139,7 @@ public:
* Each element represents a layer ID, and the GameObject will only detect
* collisions with other GameObjects that belong to these layers.
*/
- std::set<int> collision_layers;
+ std::set<int> collision_layers = {0};
};
public: