mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +00:00
Added description to P_SwitchShield.
This commit is contained in:
parent
4f79157a50
commit
aa4fca0339
1 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue