This commit is contained in:
aozhiwei 2023-04-20 21:22:53 +08:00
parent ca3c796c51
commit ffd057e6f8

View File

@ -980,12 +980,16 @@ void Bullet::ProcNormalBullet(BulletCheckResult& result)
float Bullet::GetHitRadius()
{
float hit_radius = gun_meta->bullet_rad();
if (IsBomb()) {
if (meta->_inventory_slot() != IS_C4) {
return GetExplosionRange();
hit_radius = GetExplosionRange();
}
}
return gun_meta->bullet_rad();
if (room->IsNewBieRoom()) {
hit_radius += 3;
}
return hit_radius;
}
const Position& Bullet::GetPos()