修复倒下后吃药问题
This commit is contained in:
parent
65aed29643
commit
d2516076b6
@ -204,6 +204,9 @@ void Player::UpdateCancelAction()
|
|||||||
|
|
||||||
void Player::UpdateUseItemIdx()
|
void Player::UpdateUseItemIdx()
|
||||||
{
|
{
|
||||||
|
if (downed) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (use_item_idx >= 0 && use_item_idx < IS_END) {
|
if (use_item_idx >= 0 && use_item_idx < IS_END) {
|
||||||
switch (use_item_idx) {
|
switch (use_item_idx) {
|
||||||
case IS_HEALTHKIT:
|
case IS_HEALTHKIT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user