diff options
author | Roman Tetelman <kevlarman@gmail.com> | 2009-10-03 12:13:09 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:46 +0000 |
commit | 0443c15c2c1438807a0c7809335b365395dd3825 (patch) | |
tree | 47625a577cc92b37ec0664d99c6c0ef5d0618061 | |
parent | 4488088245157d77916ff5214c1dc12a4095a3ae (diff) |
* Booster was providing extra regeneration without an overmind present (bob)
-rw-r--r-- | src/game/g_active.c | 3 |
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 ) |