Fixed index out of bounds error in volumetric features.

This commit is contained in:
richard 2009-06-03 01:37:37 +02:00
parent bb2cf9483a
commit 26e5809423

View File

@ -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++)
{