From a689266b3fcfb2206254b8b85dd135d2fbc8314c Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:38:57 +0000 Subject: * One-line fix admin name formatting --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') 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; } -- cgit