mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix picked map anger vote looking for invalid player
It was looking to see if the local player picked the map to play the cheer sound effect.
This commit is contained in:
parent
f2c92efa67
commit
628aab60c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1050,7 +1050,7 @@ static void Y_VoteStops(SINT8 pick, SINT8 level)
|
|||
{
|
||||
Y_FinalizeVote(level);
|
||||
|
||||
if (netgame && P_IsPartyPlayer(&players[pick]))
|
||||
if (netgame && pick < MAXPLAYERS && P_IsPartyPlayer(&players[pick]))
|
||||
{
|
||||
S_StartSound(NULL, sfx_yeeeah); // yeeeah!
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue