修复近战武器问题
This commit is contained in:
parent
0d7a1a06a9
commit
3af91ee7ed
@ -42,9 +42,6 @@ static void InternalCreateBullet(BulletInfo& bullet_info)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (bullet_info.delay_time <= 0) {
|
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()->meta->i->bullet_consume_type() == kBulletConsumeMulti) {
|
||||||
if (c->GetCurrWeapon()->ammo <= 0) {
|
if (c->GetCurrWeapon()->ammo <= 0) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user