mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Safety check t. nosegoblins
This commit is contained in:
parent
6ee0e40c1a
commit
ce1c5d03d3
1 changed files with 4 additions and 2 deletions
|
|
@ -777,6 +777,7 @@ static void M_HandleBeginningFollowers(setup_player_t *p)
|
||||||
|
|
||||||
static void M_HandleBeginningColorsOrFollowers(setup_player_t *p)
|
static void M_HandleBeginningColorsOrFollowers(setup_player_t *p)
|
||||||
{
|
{
|
||||||
|
if (p->skin != -1)
|
||||||
S_StartSound(NULL, skins[p->skin].soundsid[S_sfx[sfx_kattk1].skinsound]);
|
S_StartSound(NULL, skins[p->skin].soundsid[S_sfx[sfx_kattk1].skinsound]);
|
||||||
if (M_HandleBeginningColors(p))
|
if (M_HandleBeginningColors(p))
|
||||||
S_StartSound(NULL, sfx_s3k63);
|
S_StartSound(NULL, sfx_s3k63);
|
||||||
|
|
@ -1174,6 +1175,7 @@ static void M_HandleFollowerRotate(setup_player_t *p, UINT8 num)
|
||||||
p->mdepth = CSSTEP_FOLLOWERCOLORS;
|
p->mdepth = CSSTEP_FOLLOWERCOLORS;
|
||||||
M_NewPlayerColors(p);
|
M_NewPlayerColors(p);
|
||||||
S_StartSound(NULL, sfx_s3k63);
|
S_StartSound(NULL, sfx_s3k63);
|
||||||
|
if (p->followern != -1)
|
||||||
S_StartSound(NULL, followers[p->followern].hornsound);
|
S_StartSound(NULL, followers[p->followern].hornsound);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue