keep in sync when dead

This commit is contained in:
MarcEricMartel
2023-12-13 16:29:13 -05:00
parent 7b350fa403
commit 325c6b60f9
3 changed files with 15 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ bool Bullet::Update(World* world, float elapsedtime, int perframe, std::unordere
for (auto& [key, player] : mapPlayer) {
bool hit = false;
if ((m_currentpos - player->GetPosition()).Length() < .6f) {
if ((m_currentpos - player->GetPosition()).Length() < 1.f) {
hit = true;
}
if ((m_currentpos - player->GetPOV()).Length() < .2f) {