Bullet Time is slow.

This commit is contained in:
MarcEricMartel
2023-12-16 14:01:08 -05:00
parent 7803f46a6b
commit 1c2a691638
6 changed files with 7 additions and 7 deletions

View File

@@ -18,10 +18,10 @@ 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() < 1.f) {
if ((m_currentpos - player->GetPosition()).Length() < .5f) {
hit = true;
}
if ((m_currentpos - player->GetPOV()).Length() < .2f) {
else if ((m_currentpos - player->GetPOV()).Length() < .2f) {
damage *= 2; // HEADSHOT!
hit = true;
}