mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Allow promoted admins to trigger vote screen (gametype change)
This commit is contained in:
parent
53ddbcd6bf
commit
a7085d7494
1 changed files with 2 additions and 0 deletions
|
|
@ -5713,6 +5713,7 @@ static void Got_SetupVotecmd(const UINT8 **cp, INT32 playernum)
|
||||||
INT16 tempVoteLevels[VOTE_NUM_LEVELS][2];
|
INT16 tempVoteLevels[VOTE_NUM_LEVELS][2];
|
||||||
INT32 i;
|
INT32 i;
|
||||||
|
|
||||||
|
/*
|
||||||
if (playernum != serverplayer) // admin shouldn't be able to set up vote...
|
if (playernum != serverplayer) // admin shouldn't be able to set up vote...
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Illegal vote setup received from %s\n"), player_names[playernum]);
|
CONS_Alert(CONS_WARNING, M_GetText("Illegal vote setup received from %s\n"), player_names[playernum]);
|
||||||
|
|
@ -5722,6 +5723,7 @@ static void Got_SetupVotecmd(const UINT8 **cp, INT32 playernum)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
newGametype = READINT16(*cp);
|
newGametype = READINT16(*cp);
|
||||||
baseEncore = (boolean)READUINT8(*cp);
|
baseEncore = (boolean)READUINT8(*cp);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue