修复捡枪和扔枪同时进行 切换到新捡的枪

This commit is contained in:
aozhiwei 2019-05-22 09:00:16 +08:00
parent 6b64b8ede3
commit da557ad64f

View File

@ -53,6 +53,9 @@ void Player::Update(int delta_time)
if (shot_start || shot_hold) {
UpdateShot();
}
if (drop_weapon) {
UpdateDropWeapon();
}
if (interaction_objids.size() > 0) {
ProcInteraction();
}
@ -62,9 +65,6 @@ void Player::Update(int delta_time)
if (select_weapon) {
UpdateSelectWeapon();
}
if (drop_weapon) {
UpdateDropWeapon();
}
if (use_scope) {
UpdateUseScope();
}