diff options
author | IronClaw <louie.nutman@gmail.com> | 2019-10-04 20:38:11 +0000 |
---|---|---|
committer | IronClaw <louie.nutman@gmail.com> | 2019-10-04 20:38:11 +0000 |
commit | a4753e7f5931b7e8dee7c7b01206a8685449200f (patch) | |
tree | 12c32798a27a0c70f630f3819eae59e07962f31c /src/game | |
parent | b4c34ec9c6c8ee7448c122848c1e5437ceb51e99 (diff) |
.FAKENOVOTE flag
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_admin.c | 4 | ||||
-rw-r--r-- | src/game/g_admin.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index bec9370..37df6fe 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -5751,6 +5751,10 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg ) { Q_strncpyz( muted, "V", sizeof( muted ) ); } + if( G_admin_permission( &g_entities[ i ], ADMF_FAKE_NO_VOTE ) ) + { + Q_strncpyz( muted, "V", sizeof( muted ) ); + } if( p->pers.muted ) { Q_strncpyz( muted, "M", sizeof( muted ) ); diff --git a/src/game/g_admin.h b/src/game/g_admin.h index b2ac338..042fc22 100644 --- a/src/game/g_admin.h +++ b/src/game/g_admin.h @@ -108,6 +108,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ADMF_NO_CHAT ".NOCHAT" #define ADMF_NO_VOTE ".NOVOTE" +#define ADMF_FAKE_NO_VOTE ".FAKENOVOTE" #define ADMF_NOAUTOBAHN "NOAUTOBAHN" |