- Fixed: A_Lower needs to check player->cheats for WF_INSTANTWEAPSWITCH, not player->WeaponState.

SVN r4055 (trunk)
This commit is contained in:
Randy Heit 2013-01-27 04:08:00 +00:00
parent a2f55c8067
commit 61322cc33b

View file

@ -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;
}