diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-03-24 20:15:55 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-03-24 20:15:55 +0000 |
commit | 6f002b78af7b5417cbed34da6214fa6e307b69ea (patch) | |
tree | 6cca748ab4fe59e9078408ce0ba25e3142b2d041 /src/game | |
parent | 62c6c73da1a63900de56fe729fac865f4911eeca (diff) |
Revert "use an or statement instead"
This reverts commit e8b2a3d5f75379a22cddb6bb6f52349227533fd5.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 7 |
1 files 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 ) ); } |