mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Merge branch 'supermusic-state-fix' into 'next'
Fix super theme ending early if invincibility expired See merge request STJr/SRB2!559
This commit is contained in:
commit
63cf9d61fc
1 changed files with 1 additions and 1 deletions
|
@ -1600,7 +1600,7 @@ void P_RestoreMusic(player_t *player)
|
||||||
P_PlayJingle(player, JT_SUPER);
|
P_PlayJingle(player, JT_SUPER);
|
||||||
|
|
||||||
// Invulnerability
|
// 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);
|
strlcpy(S_sfx[sfx_None].caption, "Invincibility", 14);
|
||||||
S_StartCaption(sfx_None, -1, player->powers[pw_invulnerability]);
|
S_StartCaption(sfx_None, -1, player->powers[pw_invulnerability]);
|
||||||
|
|
Loading…
Reference in a new issue