summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.h2
-rw-r--r--src/server/sv_init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/server.h b/src/server/server.h
index a0831da9..59b3ff8b 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -199,7 +199,7 @@ typedef struct client_s {
#endif
int oldServerTime;
- qboolean csUpdated[MAX_CONFIGSTRINGS+1];
+ qboolean csUpdated[MAX_CONFIGSTRINGS];
} client_t;
//=============================================================================
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;