修复炸弹问题
This commit is contained in:
parent
6d77ee37d8
commit
92e6e37a78
@ -54,7 +54,9 @@ void Bullet::Update(int delta_time)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}//end for
|
}//end for
|
||||||
if (!objects.empty() || distance > gun_meta->i->range()) {
|
if (!objects.empty() || distance > gun_meta->i->range() ||
|
||||||
|
(IsBomb() && distance >= fly_distance)
|
||||||
|
) {
|
||||||
if (IsBomb()) {
|
if (IsBomb()) {
|
||||||
ProcBomb();
|
ProcBomb();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user