summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-16 23:00:44 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-04-18 01:14:59 +0200
commitad3fc9ec2cc4b274216bff296e6afdc7647588b5 (patch)
tree07dda4b1c10d90ec97e87d8939234515eb5e8cff /src/game
parent5b1432ceacc84de2abfb4cfd0e6c040ab5cb9491 (diff)
fix autobahn code a bit
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 98953e2..960f4df 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -3506,7 +3506,7 @@ void G_admin_IPA_judgement( const char *ipa, int rating, const char *comment )
else
j->comment = NULL;
- if( g_admin_namelog[ i ]->slot )
+ if( g_admin_namelog[ i ]->slot != -1 )
admin_autobahn( g_entities + g_admin_namelog[ i ]->slot, j->rating );
}
}