修复捡枪和扔枪同时进行 切换到新捡的枪
This commit is contained in:
parent
6b64b8ede3
commit
da557ad64f
@ -53,6 +53,9 @@ void Player::Update(int delta_time)
|
|||||||
if (shot_start || shot_hold) {
|
if (shot_start || shot_hold) {
|
||||||
UpdateShot();
|
UpdateShot();
|
||||||
}
|
}
|
||||||
|
if (drop_weapon) {
|
||||||
|
UpdateDropWeapon();
|
||||||
|
}
|
||||||
if (interaction_objids.size() > 0) {
|
if (interaction_objids.size() > 0) {
|
||||||
ProcInteraction();
|
ProcInteraction();
|
||||||
}
|
}
|
||||||
@ -62,9 +65,6 @@ void Player::Update(int delta_time)
|
|||||||
if (select_weapon) {
|
if (select_weapon) {
|
||||||
UpdateSelectWeapon();
|
UpdateSelectWeapon();
|
||||||
}
|
}
|
||||||
if (drop_weapon) {
|
|
||||||
UpdateDropWeapon();
|
|
||||||
}
|
|
||||||
if (use_scope) {
|
if (use_scope) {
|
||||||
UpdateUseScope();
|
UpdateUseScope();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user