From f52202ecbc0ac4d4b781e2e14d6a99bf75dc4835 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 11 Jan 2014 17:35:22 -0600 Subject: Remove extra client_t::csUpdated[] slot sv.configstrings[] is limited to 0 to MAX_CONFIGSTRINGS-1, make client_t::csUpdated[] the same. --- src/server/sv_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/sv_init.c') diff --git a/src/server/sv_init.c b/src/server/sv_init.c index 8f4f1ca6..71e5f717 100644 --- a/src/server/sv_init.c +++ b/src/server/sv_init.c @@ -90,7 +90,7 @@ void SV_UpdateConfigstrings(client_t *client) { int index; - for( index = 0; index <= MAX_CONFIGSTRINGS; index++ ) { + for( index = 0; index < MAX_CONFIGSTRINGS; index++ ) { // if the CS hasn't changed since we went to CS_PRIMED, ignore if(!client->csUpdated[index]) continue; -- cgit