This commit is contained in:
aozhiwei 2021-10-29 16:07:17 +08:00
parent 3af91ee7ed
commit f9e86da208

View File

@ -223,6 +223,9 @@ void Player::UpdateShot()
if (HasBuffEffect(kBET_Vertigo) && !HasBuffEffect(kBET_AutoShot)) {
return;
}
if (HasBuffEffect(kBET_Sprint)) {
return;
}
Weapon* p_weapon = GetCurrWeapon();
if (second_weapon.meta) {
p_weapon = &second_weapon;