diff options
author | Aki <please@ignore.pl> | 2022-04-18 20:38:16 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-18 20:39:44 +0200 |
commit | add251b4ea37b57cf926b07e5e04d9b065f82a2c (patch) | |
tree | 9cecb47f168c985017971a3373de59b35f85db1a /Player-inl.h | |
parent | bbec07ab3de333649d14a64fa01f7e8ad6d56c58 (diff) | |
download | bullethell2022-add251b4ea37b57cf926b07e5e04d9b065f82a2c.zip bullethell2022-add251b4ea37b57cf926b07e5e04d9b065f82a2c.tar.gz bullethell2022-add251b4ea37b57cf926b07e5e04d9b065f82a2c.tar.bz2 |
Playing around with enemies, added dumb pos manipulation
Diffstat (limited to 'Player-inl.h')
-rw-r--r-- | Player-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Player-inl.h b/Player-inl.h index 10c43d1..140bfad 100644 --- a/Player-inl.h +++ b/Player-inl.h @@ -10,7 +10,7 @@ bool Player::collide(const std::vector<T>& bullets) const { for (const auto& bullet : bullets) { - if (CheckCollisionCircles(m_position, 9, bullet.position, bullet.radius)) + if (CheckCollisionCircles(m_position, 4, bullet.position, bullet.radius)) return true; } return false; |