summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:38:57 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:08 +0000
commita689266b3fcfb2206254b8b85dd135d2fbc8314c (patch)
treeae524bd1c52e9b25aff2f4e6bad5f9979c4e966f /src
parente806885fc3cff2a6355db73684e8f3d7058f5d3c (diff)
* One-line fix admin name formatting
Diffstat (limited to 'src')
-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 851ec077..7ad67357 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -1270,7 +1270,7 @@ qboolean G_admin_readconfig( gentity_t *ent, int skiparg )
// max printable name length for formatting
for( i = 0; i < MAX_ADMIN_LEVELS && g_admin_levels[ i ]; i++ )
{
- len = Q_PrintStrlen( l->name );
+ len = Q_PrintStrlen( g_admin_levels[ i ]->name );
if( len > admin_level_maxname )
admin_level_maxname = len;
}