Fixed teamstatus some more (Issue 121)

Prevented walking past of GUID string (Issue 122)

Updated wiki/References.wiki
This commit is contained in:
Paradox460 committed 2008-06-24 04:19:41 +00:00
1 parent 8b968da4f3
commit f1a18a9a8a
5 files changed
+18 -22

No files matched your search

+5 -5
View File
@@ -1281,7 +1281,7 @@ static int admin_listadmins( gentity_t *ent, int start, char *search, int minlev
if( !strstr( name, search ) )
continue;
for( j = 0; j <= 8; j++ )
for( j = 0; j < 8; j++ )
guid_stub[ j ] = vic->client->pers.guid[ j + 24 ];
guid_stub[ j ] = '\0';
@@ -1339,7 +1339,7 @@ static int admin_listadmins( gentity_t *ent, int start, char *search, int minlev
if( dup )
continue;
}
for( j = 0; j <= 8; j++ )
for( j = 0; j < 8; j++ )
guid_stub[ j ] = g_admin_admins[ i ]->guid[ j + 24 ];
guid_stub[ j ] = '\0';
@@ -2486,7 +2486,7 @@ qboolean G_admin_ban( gentity_t *ent, int skiparg )
ADMBP( "^3!ban: ^7multiple recent clients match name, use IP or slot#:\n" );
for( i = 0; i < MAX_ADMIN_NAMELOGS && g_admin_namelog[ i ]; i++ )
{
for( j = 0; j <= 8; j++ )
for( j = 0; j < 8; j++ )
guid_stub[ j ] = g_admin_namelog[ i ]->guid[ j + 24 ];
guid_stub[ j ] = '\0';
for( j = 0; j < MAX_ADMIN_NAMELOG_NAMES
@@ -3370,7 +3370,7 @@ qboolean G_admin_listplayers( gentity_t *ent, int skiparg )
continue;
}
for( j = 0; j <= 8; j++ )
for( j = 0; j < 8; j++ )
guid_stub[ j ] = p->pers.guid[ j + 24 ];
guid_stub[ j ] = '\0';
@@ -4302,7 +4302,7 @@ qboolean G_admin_namelog( gentity_t *ent, int skiparg )
continue;
}
printed++;
for( j = 0; j <= 8; j++ )
for( j = 0; j < 8; j++ )
guid_stub[ j ] = g_admin_namelog[ i ]->guid[ j + 24 ];
guid_stub[ j ] = '\0';
if( g_admin_namelog[ i ]->slot > -1 )