From 37e2619f9d1ce7dd1515be5236e4dd670ce2736b Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:56:43 +0000 Subject: fix maxZones dynamic allocation conditional --- src/game/g_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ); -- cgit