diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2019-11-01 22:18:20 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2019-11-01 22:18:20 +0000 |
commit | dd81c8bb2daece51f243121c0b9ff82ee7eff98b (patch) | |
tree | 4466f7473304e5cb5839b7a9c4d5bb857a0cd14d | |
parent | ec79847d3db4a3ab511535cdfda211a6b273b1b8 (diff) |
add .FAKENOVOTE flag
-rw-r--r-- | src/game/g_admin.c | 2 | ||||
-rw-r--r-- | src/game/g_admin.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c index a4006ea..c38f6de 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -4679,7 +4679,7 @@ 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 ) ) + 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 ) ); } diff --git a/src/game/g_admin.h b/src/game/g_admin.h index 177d7e3..3b94644 100644 --- a/src/game/g_admin.h +++ b/src/game/g_admin.h @@ -104,6 +104,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define ADMF_NO_BUILD ".NOBUILD" #define ADMF_NO_CHAT ".NOCHAT" #define ADMF_NO_VOTE ".NOVOTE" +#define ADMF_FAKE_NO_VOTE ".FAKENOVOTE" #define MAX_ADMIN_LISTITEMS 20 #define MAX_ADMIN_SHOWBANS 10 |