mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-25 19:43:22 +00:00
IsPlayerAdmin: Do not have non-tester specific DEVELOP behaviour
It's easy enough for the host to verify any given player, and this is in fact the only HOSTTESTERS-specific sync change..!?
This commit is contained in:
parent
f522cae573
commit
9854da9da1
1 changed files with 0 additions and 4 deletions
|
|
@ -3687,16 +3687,12 @@ static void Command_Login_f(void)
|
|||
|
||||
boolean IsPlayerAdmin(INT32 playernum)
|
||||
{
|
||||
#if defined(DEVELOP) && !(defined(HOSTTESTERS) || defined(TESTERS))
|
||||
return playernum != serverplayer;
|
||||
#else
|
||||
INT32 i;
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
if (playernum == adminplayers[i])
|
||||
return true;
|
||||
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void SetAdminPlayer(INT32 playernum)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue