aboutsummaryrefslogtreecommitdiff
path: root/game/preview/NpcSubScene.cpp
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:32:25 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-10 19:32:25 +0100
commitc17a1ac94186a2de6ad30e9228a031fb08434e52 (patch)
tree49ef4c95b4e9657cdb3b35cadae375a91a19313d /game/preview/NpcSubScene.cpp
parente0054137a49927dc619ca1a94ca543ae01713e3c (diff)
tiny adjustments for preview scene
Diffstat (limited to 'game/preview/NpcSubScene.cpp')
-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 a3781af..c9ab5b6 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},
+ .collision_layers = {COLL_LAY_BOT_TOP, COLL_LAY_PLAYER, 100},
.collision_layer = COLL_LAY_PLAYER,
});