修复死亡后开枪问题
This commit is contained in:
parent
b48d41c1ce
commit
0a74273831
@ -100,7 +100,7 @@ void Player::UpdateMove()
|
||||
if (action_type == AT_Relive) {
|
||||
CancelAction();
|
||||
}
|
||||
if (a8::HasBitFlag(status, HS_Fly)) {
|
||||
if (dead || a8::HasBitFlag(status, HS_Fly)) {
|
||||
moving = false;
|
||||
moved_frames = 0;
|
||||
last_collision_door = nullptr;
|
||||
@ -139,7 +139,8 @@ void Player::UpdateMove()
|
||||
|
||||
void Player::UpdateShot()
|
||||
{
|
||||
if (a8::HasBitFlag(status, HS_Fly) ||
|
||||
if (dead ||
|
||||
a8::HasBitFlag(status, HS_Fly) ||
|
||||
a8::HasBitFlag(status, HS_Jump) ) {
|
||||
shot_start = false;
|
||||
shot_hold = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user