1
This commit is contained in:
parent
083b0a5bea
commit
11e91fda61
@ -447,9 +447,12 @@ void Bullet::Check(float distance)
|
|||||||
if (result.o_hit_num <= 0) {
|
if (result.o_hit_num <= 0) {
|
||||||
GetHitCreatures(result);
|
GetHitCreatures(result);
|
||||||
}
|
}
|
||||||
if (!result.objects.empty() || (!IsBomb() && distance > gun_meta->range()) || result.eat ||
|
if (!result.objects.empty() ||
|
||||||
|
(!IsBomb() && distance > gun_meta->range()) ||
|
||||||
|
result.eat ||
|
||||||
(gun_meta->id() == 30918 && distance >= fly_distance) ||
|
(gun_meta->id() == 30918 && distance >= fly_distance) ||
|
||||||
(IsBomb() && meta->_inventory_slot() != IS_RPG && distance >= fly_distance)
|
(IsBomb() && meta->_inventory_slot() != IS_RPG && distance >= fly_distance) ||
|
||||||
|
(IsFlyHook() && distance >= raycast_len_)
|
||||||
) {
|
) {
|
||||||
if (IsBomb()) {
|
if (IsBomb()) {
|
||||||
ProcBomb();
|
ProcBomb();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user