aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Rigidbody.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:17:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:17:25 +0100
commite70c2a3a4a7f636f190cc64792029cadd3613337 (patch)
tree8371b0e067430db780b72638eb61555869641979 /src/crepe/api/Rigidbody.h
parent68be6b67f79413cb4af0ca15262ca1547a7d0d41 (diff)
parent9957da232e7c96f7f88a7ab0edfa4aaf560d1c00 (diff)
Merge branch 'master' into niels/UI
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: