aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-11 11:22:33 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-11 11:22:33 +0100
commitd557cfd311a6239e579fad35e3684f8c0e170ce7 (patch)
treeabac6549d3ed16943287903389a1324ce3f02e1e
parent2bc23c83489fe45af207559cbb8620b97fc73b35 (diff)
Fix: Player and NPS do not collide anymore
-rw-r--r--game/preview/NpcSubScene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/preview/NpcSubScene.cpp b/game/preview/NpcSubScene.cpp
index c9ab5b6..9fddb78 100644
--- a/game/preview/NpcSubScene.cpp
+++ b/game/preview/NpcSubScene.cpp
@@ -57,7 +57,7 @@ NpcSubScene::NpcSubScene(Scene & scn) {
.body_type = Rigidbody::BodyType::DYNAMIC,
.linear_velocity = {-50, 0},
//.max_linear_velocity = 40,
- .collision_layers = {COLL_LAY_BOT_TOP, COLL_LAY_PLAYER, 100},
+ .collision_layers = {COLL_LAY_BOT_TOP, 100},
.collision_layer = COLL_LAY_PLAYER,
});