This commit is contained in:
aozhiwei 2022-10-26 17:46:39 +08:00
parent d3fa248015
commit c4f3c9d13b

View File

@ -237,8 +237,7 @@ void VirtualBullet::Check(float distance)
});
}
float bullet_range = gun_meta->i->range();
if (!objects.empty() || (!IsBomb() && distance > bullet_range)
) {
if (!objects.empty() || (!IsBomb() && distance > bullet_range)) {
if (IsBomb()) {
} else {
bool hited = false;