1
This commit is contained in:
parent
ca3c796c51
commit
ffd057e6f8
@ -980,12 +980,16 @@ void Bullet::ProcNormalBullet(BulletCheckResult& result)
|
|||||||
|
|
||||||
float Bullet::GetHitRadius()
|
float Bullet::GetHitRadius()
|
||||||
{
|
{
|
||||||
|
float hit_radius = gun_meta->bullet_rad();
|
||||||
if (IsBomb()) {
|
if (IsBomb()) {
|
||||||
if (meta->_inventory_slot() != IS_C4) {
|
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()
|
const Position& Bullet::GetPos()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user