From cd4f5b25cde4d0a8a4b3955cb6bd266963a0991d Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 13:01:33 +0000 Subject: Decrement queued build points to avoid infinite loop --- src/game/g_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') diff --git a/src/game/g_main.c b/src/game/g_main.c index eab09ad8..130e6edb 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1225,6 +1225,8 @@ void G_CalculateBuildPoints( void ) zone->nextQueueTime += G_NextQueueTime( zone->queuedBuildPoints, zone->totalBuildPoints, g_humanRepeaterBuildQueueTime.integer ); + + zone->queuedBuildPoints--; } } else -- cgit