👌
This commit is contained in:
@@ -26,6 +26,7 @@ bool Bullet::Update(World* world, float elapsedtime, int perframe, std::unordere
|
||||
}
|
||||
if (hit && !player->AmIDead()) {
|
||||
player->InflictDamage(damage);
|
||||
player->m_hit = true;
|
||||
|
||||
if (player->AmIDead())
|
||||
player->Killer = m_shooter_id;
|
||||
|
Reference in New Issue
Block a user