mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
parent
e34c4353f6
commit
f96bc3ee31
1 changed files with 2 additions and 6 deletions
|
@ -1549,8 +1549,6 @@ static void updatePlayerAction(Player* const pPlayer)
|
|||
|
||||
if (pPlayer->input.actions & SB_FIRE) // was var_38
|
||||
{
|
||||
pPlayer->bIsFiring = true;
|
||||
|
||||
if (bUnderwater)
|
||||
{
|
||||
nextAction = 11;
|
||||
|
@ -1560,12 +1558,10 @@ static void updatePlayerAction(Player* const pPlayer)
|
|||
nextAction = 5;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
pPlayer->bIsFiring = false;
|
||||
}
|
||||
}
|
||||
|
||||
pPlayer->bIsFiring = !!(pPlayer->input.actions & SB_FIRE);
|
||||
|
||||
// Handle player pressing number keys to change weapon
|
||||
if (auto newWeap = pPlayer->input.getNewWeapon())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue