Allow yeah in splitscreen

This commit is contained in:
TehRealSalt 2018-11-20 00:10:54 -05:00
parent 9b1c2b8dc0
commit 9a4ebb916a

View file

@ -1159,7 +1159,10 @@ static void Y_VoteStops(SINT8 pick, SINT8 level)
S_StartSound(NULL, sfx_noooo2); // gasp S_StartSound(NULL, sfx_noooo2); // gasp
else if (mapheaderinfo[nextmap] && (mapheaderinfo[nextmap]->menuflags & LF2_HIDEINMENU)) else if (mapheaderinfo[nextmap] && (mapheaderinfo[nextmap]->menuflags & LF2_HIDEINMENU))
S_StartSound(NULL, sfx_noooo1); // this is bad S_StartSound(NULL, sfx_noooo1); // this is bad
else if (!splitscreen && pick == consoleplayer) else if (netgame && (pick == consoleplayer
|| pick == secondarydisplayplayer
|| pick == thirddisplayplayer
|| pick == fourthdisplayplayer))
S_StartSound(NULL, sfx_yeeeah); // yeeeah! S_StartSound(NULL, sfx_yeeeah); // yeeeah!
else else
S_StartSound(NULL, sfx_kc48); // just a cool sound S_StartSound(NULL, sfx_kc48); // just a cool sound