diff --git a/src/p_user.c b/src/p_user.c index 280b0d489..4ff39a181 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -1403,6 +1403,15 @@ void P_SpawnShieldOrb(player_t *player) } } +// +// P_SwitchShield +// +// Handles the possibility of switching +// between shields thoroughly, then +// adds the desired one. +// +// Not for use if shieldtype would be SH_FORCE. +// void P_SwitchShield(player_t *player, UINT16 shieldtype) { if ((player->powers[pw_shield] & SH_NOSTACK) != shieldtype)