aboutsummaryrefslogtreecommitdiff
path: root/game/preview/NpcSubScene.cpp
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-12 10:55:17 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-12 10:55:17 +0100
commit6879f036aebe8f279411fa30f2d7ae1e0614308c (patch)
tree4a09cc343c454fa9c5766ada419ced06d1472c40 /game/preview/NpcSubScene.cpp
parent6e45c7c1f4c40fc724e0727342d23417c4cabfa0 (diff)
Bug fix: Set same box collider as Game
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 9fddb78..5ededb6 100644
--- a/game/preview/NpcSubScene.cpp
+++ b/game/preview/NpcSubScene.cpp
@@ -49,7 +49,7 @@ NpcSubScene::NpcSubScene(Scene & scn) {
.looping = true,
}
);
- npc.add_component<BoxCollider>(vec2 {50, 50});
+ npc.add_component<BoxCollider>(vec2 {40, 50});
npc.add_component<Rigidbody>(Rigidbody::Data {
.mass = 10,