From 6f002b78af7b5417cbed34da6214fa6e307b69ea Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Tue, 24 Mar 2020 20:15:55 +0000 Subject: Revert "use an or statement instead" This reverts commit e8b2a3d5f75379a22cddb6bb6f52349227533fd5. --- src/game/g_admin.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 4271dd8..0695781 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -5752,8 +5752,11 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg ) Q_strncpyz( guidless, "G", sizeof( guidless ) ); } muted[ 0 ] = '\0'; - if( G_admin_permission( &g_entities[ i ], ADMF_NO_VOTE ) - || G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) ) + if( G_admin_permission( &g_entities[ i ], ADMF_NO_VOTE ) ) + { + Q_strncpyz( muted, "V", sizeof( muted ) ); + } + if( G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) ) { Q_strncpyz( muted, "V", sizeof( muted ) ); } -- cgit