From 26e5809423140746b8b5b5e2746221c7c630b6ae Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 3 Jun 2009 01:37:37 +0200 Subject: [PATCH] Fixed index out of bounds error in volumetric features. --- src/zr/volfeatures/volfeatures.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/volfeatures/volfeatures.inc b/src/zr/volfeatures/volfeatures.inc index 6466084..f0192d7 100644 --- a/src/zr/volfeatures/volfeatures.inc +++ b/src/zr/volfeatures/volfeatures.inc @@ -281,7 +281,7 @@ VolResetCountDown(client = -1) else { // Reset all volume counters. - for (new clientIndex = 0; clientIndex <= MAXPLAYERS + 1; clientIndex++) + for (new clientIndex = 0; clientIndex < MAXPLAYERS + 1; clientIndex++) { for (new volumeIndex = 0; volumeIndex < ZR_VOLUMES_MAX; volumeIndex++) {