diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 11:10:05 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 11:10:05 +0100 |
commit | a9c6e86e4d95f4f4986be9016779dcc26a925862 (patch) | |
tree | 27fb51d2b1ab0d260cfc6b9ebed4c7fceedcee34 /game/enemy/EnemyBulletSubScene.cpp | |
parent | 1de7cd3a1265edd2c247f5f847a5665bafd78faa (diff) |
animation working + removed bullet colliding with dead enemies
Diffstat (limited to 'game/enemy/EnemyBulletSubScene.cpp')
-rw-r--r-- | game/enemy/EnemyBulletSubScene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/enemy/EnemyBulletSubScene.cpp b/game/enemy/EnemyBulletSubScene.cpp index 1406660..bc31ba8 100644 --- a/game/enemy/EnemyBulletSubScene.cpp +++ b/game/enemy/EnemyBulletSubScene.cpp @@ -30,7 +30,7 @@ int EnemyBulletSubScene::create(Scene & scn, int counter) { .body_type = Rigidbody::BodyType::KINEMATIC, .linear_velocity = vec2 {-300, 0}, .kinematic_collision = false, - .collision_layers = {COLL_LAY_BOT_TOP, COLL_LAY_MISSILE, COLL_LAY_ZAPPER}, + .collision_layers = {COLL_LAY_MISSILE, COLL_LAY_ZAPPER}, .collision_layer = COLL_LAY_BULLET }); bullet_body.active = false; |