diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 14:50:04 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-08 14:50:04 +0100 |
commit | 0de6692dcb029540f4502c5a2f1a0c6634f7b61f (patch) | |
tree | 001f373de315b651704b8b264e20314bc878e288 /game/workers/CollisionScript.cpp | |
parent | a4b9e948ac0acd14d82e009a75e1fccdddeeab9b (diff) |
start of extra features and restored player functions
Diffstat (limited to 'game/workers/CollisionScript.cpp')
-rw-r--r-- | game/workers/CollisionScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/workers/CollisionScript.cpp b/game/workers/CollisionScript.cpp index deaf0ee..625044d 100644 --- a/game/workers/CollisionScript.cpp +++ b/game/workers/CollisionScript.cpp @@ -49,7 +49,7 @@ bool CollisionScript::on_collision(const CollisionEvent & ev) { bs_panic.active = false; return false; - } else if (ev.info.other.metadata.tag == "missile") { + } else if (ev.info.other.metadata.tag == "missile" || ev.info.other.metadata.tag == "enemy_bullet") { for (Animator & anim : animators) { anim.active = false; anim.set_anim(3); |