修复捡枪和扔枪同时进行 切换到新捡的枪
This commit is contained in:
parent
6b64b8ede3
commit
da557ad64f
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user