1
This commit is contained in:
parent
f9e86da208
commit
7b1f6b0934
@ -2925,6 +2925,11 @@ void Human::OnBuffRemove(Buff& buff)
|
||||
camouflage_aiming_addition_ = std::max(camouflage_aiming_addition_, 0);
|
||||
}
|
||||
break;
|
||||
case kBET_Sprint:
|
||||
{
|
||||
last_shot_frameno_ = room->GetFrameNo() + SERVER_FRAME_RATE;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
}
|
||||
|
@ -221,9 +221,15 @@ void Player::UpdateShot()
|
||||
return;
|
||||
}
|
||||
if (HasBuffEffect(kBET_Vertigo) && !HasBuffEffect(kBET_AutoShot)) {
|
||||
shot_start = false;
|
||||
shot_hold = false;
|
||||
series_shot_frames = 0;
|
||||
return;
|
||||
}
|
||||
if (HasBuffEffect(kBET_Sprint)) {
|
||||
shot_start = false;
|
||||
shot_hold = false;
|
||||
series_shot_frames = 0;
|
||||
return;
|
||||
}
|
||||
Weapon* p_weapon = GetCurrWeapon();
|
||||
|
Loading…
x
Reference in New Issue
Block a user