aboutsummaryrefslogtreecommitdiff
path: root/game/enemy/EnemySubScene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'game/enemy/EnemySubScene.cpp')
-rw-r--r--game/enemy/EnemySubScene.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/game/enemy/EnemySubScene.cpp b/game/enemy/EnemySubScene.cpp
index 5618829..43f9b33 100644
--- a/game/enemy/EnemySubScene.cpp
+++ b/game/enemy/EnemySubScene.cpp
@@ -26,9 +26,8 @@ int EnemySubScene::create(Scene & scn){
.gravity_scale = 0,
.body_type = Rigidbody::BodyType::DYNAMIC,
- // .collision_layers
- // = {COLL_LAY_BOT_TOP, COLL_LAY_ZAPPER, COLL_LAY_LASER},
.max_linear_velocity = 400,
+ .collision_layers = {COLL_LAY_BOT_TOP,COLL_LAY_PLAYER_BULLET},
.collision_layer = COLL_LAY_ENEMY,
});