summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh7
-rw-r--r--src/game/g_admin.c4
-rw-r--r--src/game/g_admin.h1
3 files changed, 12 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..bec2ab7
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ -z "$1" ]; then
+ echo "$0 [instance]"
+fi
+
+cp bld/out/gpp/game.so ~/tmp.so && mv ~/tmp.so ~/over\@$1/slacker/game.so
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"