Renamed NODEATHJUMP to NODEATHDESELECT.

This commit is contained in:
MajorCooke 2016-07-22 09:37:32 -05:00 committed by Christoph Oelckers
commit 1322ef2449
3 changed files with 3 additions and 3 deletions

View file

@ -510,7 +510,7 @@ void P_DropWeapon (player_t *player)
}
// Since the weapon is dropping, stop blocking switching.
player->WeaponState &= ~WF_DISABLESWITCH;
if ((player->ReadyWeapon != nullptr) && (player->health > 0 || !(player->ReadyWeapon->WeaponFlags & WIF_NODEATHJUMP)))
if ((player->ReadyWeapon != nullptr) && (player->health > 0 || !(player->ReadyWeapon->WeaponFlags & WIF_NODEATHDESELECT)))
{
P_SetPsprite(player, PSP_WEAPON, player->ReadyWeapon->GetDownState());
}