summaryrefslogtreecommitdiff
path: root/src/server/sv_init.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-01-11 17:35:22 -0600
committerTim Angus <tim@ngus.net>2014-06-17 17:43:38 +0100
commitf52202ecbc0ac4d4b781e2e14d6a99bf75dc4835 (patch)
treeabd2af638907745ff8c806117e9385d7cc43e902 /src/server/sv_init.c
parentc9b4d07602c220fb23e49c6493b1d955eebd90ea (diff)
Remove extra client_t::csUpdated[] slot
sv.configstrings[] is limited to 0 to MAX_CONFIGSTRINGS-1, make client_t::csUpdated[] the same.
Diffstat (limited to 'src/server/sv_init.c')
-rw-r--r--src/server/sv_init.c2
1 files changed, 1 insertions, 1 deletions
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;