mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Fix super theme ending early if invincibility expired
This commit is contained in:
parent
cbb9c7c13a
commit
de1d25cf08
1 changed files with 1 additions and 1 deletions
|
@ -1600,7 +1600,7 @@ void P_RestoreMusic(player_t *player)
|
|||
P_PlayJingle(player, JT_SUPER);
|
||||
|
||||
// Invulnerability
|
||||
else if (player->powers[pw_invulnerability] > 1)
|
||||
else if (player->powers[pw_invulnerability] > 1 && !player->powers[pw_super])
|
||||
{
|
||||
strlcpy(S_sfx[sfx_None].caption, "Invincibility", 14);
|
||||
S_StartCaption(sfx_None, -1, player->powers[pw_invulnerability]);
|
||||
|
|
Loading…
Reference in a new issue