mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-03 17:32:54 +00:00
- Fixed: A_Lower needs to check player->cheats for WF_INSTANTWEAPSWITCH, not player->WeaponState.
SVN r4055 (trunk)
This commit is contained in:
parent
a2f55c8067
commit
61322cc33b
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ DEFINE_ACTION_FUNCTION(AInventory, A_Lower)
|
|||
return;
|
||||
}
|
||||
psp = &player->psprites[ps_weapon];
|
||||
if (player->morphTics || player->WeaponState & CF_INSTANTWEAPSWITCH)
|
||||
if (player->morphTics || player->cheats & CF_INSTANTWEAPSWITCH)
|
||||
{
|
||||
psp->sy = WEAPONBOTTOM;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue