summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 67a59538..9a8f3cf9 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2438,7 +2438,7 @@ void CheckCvars( void )
}
// If the number of zones changes, we need a new array
- if( g_humanRepeaterMaxZones.modificationCount != lastNumZones )
+ if( g_humanRepeaterMaxZones.integer != lastNumZones )
{
zone_t *newZones;
size_t newsize = g_humanRepeaterMaxZones.integer * sizeof( zone_t );