修复炸弹问题

This commit is contained in:
aozhiwei 2019-04-25 16:58:00 +08:00
parent 6d77ee37d8
commit 92e6e37a78

View File

@ -54,7 +54,9 @@ void Bullet::Update(int delta_time)
}
}
}//end for
if (!objects.empty() || distance > gun_meta->i->range()) {
if (!objects.empty() || distance > gun_meta->i->range() ||
(IsBomb() && distance >= fly_distance)
) {
if (IsBomb()) {
ProcBomb();
} else {