mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove S_ChangeMusic call in G_PlayerReborn because redundant to S_Init
This commit is contained in:
parent
68f0a25323
commit
0ff0b0a3fb
1 changed files with 0 additions and 11 deletions
11
src/g_game.c
11
src/g_game.c
|
|
@ -2205,17 +2205,6 @@ void G_PlayerReborn(INT32 player)
|
||||||
//if ((netgame || multiplayer) && !p->spectator) -- moved into P_SpawnPlayer to account for forced changes there
|
//if ((netgame || multiplayer) && !p->spectator) -- moved into P_SpawnPlayer to account for forced changes there
|
||||||
//p->powers[pw_flashing] = flashingtics-1; // Babysitting deterrent
|
//p->powers[pw_flashing] = flashingtics-1; // Babysitting deterrent
|
||||||
|
|
||||||
if (p-players == consoleplayer)
|
|
||||||
{
|
|
||||||
if (mapmusflags & MUSIC_RELOADRESET)
|
|
||||||
{
|
|
||||||
strncpy(mapmusname, mapheaderinfo[gamemap-1]->musname, 7);
|
|
||||||
mapmusname[6] = 0;
|
|
||||||
mapmusflags = mapheaderinfo[gamemap-1]->mustrack & MUSIC_TRACKMASK;
|
|
||||||
}
|
|
||||||
S_ChangeMusic(mapmusname, mapmusflags, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (gametype == GT_COOP)
|
if (gametype == GT_COOP)
|
||||||
P_FindEmerald(); // scan for emeralds to hunt for
|
P_FindEmerald(); // scan for emeralds to hunt for
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue