diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-09-23 23:58:45 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-09-23 23:58:45 +0000 |
commit | f41c5c89d12984e3269c4b4746050d5fe5e8caa1 (patch) | |
tree | 48391cf40e64820f66fd571a55433e4f1cb60700 /source/sv_main.c | |
parent | f8da937c0e68f24f87f2e93c9c04bdf43afbfb05 (diff) |
Replaced link_t stuff with list_t handlers.
Server now tries to avoid cache misses when iterating
though client list by placing clients sequentally.
Diffstat (limited to 'source/sv_main.c')
-rw-r--r-- | source/sv_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sv_main.c b/source/sv_main.c index 879ef59..58c1c59 100644 --- a/source/sv_main.c +++ b/source/sv_main.c @@ -880,7 +880,7 @@ static void SVC_DirectConnect( void ) { } // add them to the linked list of connected clients - List_Append( &svs.clients, &newcl->entry ); + List_SeqAdd( &svs.clients, &newcl->entry ); Com_DPrintf( "Going from cs_free to cs_assigned for %s\n", newcl->name ); newcl->state = cs_assigned; |