mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- P_MovePsprites() should now always call P_CheckWeaponSwitch(), because the latter function
now has its own WF_WEAPONSWITCHOK check in the correct place. SVN r4068 (trunk)
This commit is contained in:
parent
2cf141e914
commit
cdfd671dff
1 changed files with 1 additions and 4 deletions
|
@ -1072,10 +1072,7 @@ void P_MovePsprites (player_t *player)
|
|||
}
|
||||
player->psprites[ps_flash].sx = player->psprites[ps_weapon].sx;
|
||||
player->psprites[ps_flash].sy = player->psprites[ps_weapon].sy;
|
||||
if (player->WeaponState & WF_WEAPONSWITCHOK)
|
||||
{
|
||||
P_CheckWeaponSwitch (player);
|
||||
}
|
||||
P_CheckWeaponSwitch (player);
|
||||
if (player->WeaponState & (WF_WEAPONREADY | WF_WEAPONREADYALT))
|
||||
{
|
||||
P_CheckWeaponFire (player);
|
||||
|
|
Loading…
Reference in a new issue