From 6b576fdaa56cbf8e90a85cad01fb8da423844f03 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Mon, 1 Jun 2020 21:49:42 +0100 Subject: show as GUID'less on listplayers if incognito --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') 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 ) ); } -- cgit