summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_active.c3
1 files changed, 2 insertions, 1 deletions
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 )