From 902ab6c0138eb3b93b3f3cbae1c6af7d0935c038 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 10 Oct 2009 07:12:38 +0000 Subject: * Fix restart causing a crash due to the new configstrings code (kevlarman, Rezyn) --- src/server/sv_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 0de275ce..11bd8d90 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -38,7 +38,7 @@ static void SV_SendConfigstring(client_t *client, int index) int len; if( sv.configstrings[index].restricted && Com_ClientListContains( - &sv.configstrings[index].clientList, client->gentity->s.number ) ) { + &sv.configstrings[index].clientList, client - svs.clients ) ) { // Send a blank config string for this client if it's listed SV_SendServerCommand( client, "cs %i \"\"\n", index ); return; -- cgit