From b929503e0cbc50b7d78788b90cf9120be3ef9ad9 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Tue, 24 Mar 2020 20:29:36 +0000 Subject: Revert "Revert "use an or statement instead"" This reverts commit 6f002b78af7b5417cbed34da6214fa6e307b69ea. --- src/game/g_admin.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/game/g_admin.c b/src/game/g_admin.c index 0695781..4271dd8 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -5752,11 +5752,8 @@ 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 ) ) - { - Q_strncpyz( muted, "V", sizeof( muted ) ); - } - if( G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) ) + if( G_admin_permission( &g_entities[ i ], ADMF_NO_VOTE ) + || G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) ) { Q_strncpyz( muted, "V", sizeof( muted ) ); } -- cgit