From bbcc76687e7f0d87ee9981999b9893822ca03506 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Wed, 15 Jun 2011 20:56:27 +0000 Subject: * Admins were sorted, but the sort function was not quite stable --- src/game/g_admin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index a979a774..faad787e 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -1019,7 +1019,7 @@ static void llsort( struct llist **head, int compar( const void *, const void * } for( bs = c; ( b && bs ) || as; l = t ) { - if( as && ( !bs || !b || compar( a, b ) < 0 ) ) + if( as && ( !bs || !b || compar( a, b ) <= 0 ) ) t = a, a = a->next, as--; else t = b, b = b->next, bs--; -- cgit