summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:56:43 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:20 +0000
commit37e2619f9d1ce7dd1515be5236e4dd670ce2736b (patch)
treea6e636946e0be5d7ebcbf5f513e6411e96849d0c /src/game
parent325024e110f555fb49d7a74a5b614cc00de99549 (diff)
fix maxZones dynamic allocation conditional
Diffstat (limited to 'src/game')
-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 );