diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-06-01 21:49:42 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-06-01 21:49:42 +0100 |
commit | 6b576fdaa56cbf8e90a85cad01fb8da423844f03 (patch) | |
tree | 04f116a41955d838625dbdccae669b498f3e2f6c /src | |
parent | 61c2f3a0e6588005b4adcd5446fcc135d1724a42 (diff) |
show as GUID'less on listplayers if incognito
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index f29265d..e8761fc 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -5016,7 +5016,7 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg ) } guidless[ 0 ] = '\0'; - if( !Q_stricmp( p->pers.guid, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ) ) + if( !Q_stricmp( p->pers.guid, "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ) || G_admin_permission( &g_entities[ i ], ADMF_INCOGNITO ) ) { Q_strncpyz( guidless, "G", sizeof( guidless ) ); } |