diff options
-rw-r--r-- | src/game/g_admin.c | 2 |
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; } |