From 0443c15c2c1438807a0c7809335b365395dd3825 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 12:13:09 +0000 Subject: * Booster was providing extra regeneration without an overmind present (bob) --- src/game/g_active.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/g_active.c b/src/game/g_active.c index bd6d4956..84c58996 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -747,7 +747,8 @@ void ClientTimerActions( gentity_t *ent, int msec ) new_modifier = 0.0f; if( boostEntity->s.eType == ET_BUILDABLE && boostEntity->s.modelindex == BA_A_BOOSTER && - boostEntity->spawned && boostEntity->health > 0) + boostEntity->spawned && boostEntity->health > 0 && + G_FindOvermind( boostEntity ) ) new_modifier = BOOSTER_REGEN_MOD; else if( boostEntity->client && boostEntity->health > 0 && boostEntity->client->pers.teamSelection == TEAM_ALIENS ) -- cgit