修复近战武器问题

This commit is contained in:
aozhiwei 2021-10-29 11:59:23 +08:00
parent 0d7a1a06a9
commit 3af91ee7ed

View File

@ -42,9 +42,6 @@ static void InternalCreateBullet(BulletInfo& bullet_info)
return;
}
if (bullet_info.delay_time <= 0) {
if (c->GetCurrWeapon()->weapon_idx == 0) {
return;
}
if (c->GetCurrWeapon()->meta->i->bullet_consume_type() == kBulletConsumeMulti) {
if (c->GetCurrWeapon()->ammo <= 0) {
return;