summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-22 22:39:03 +0000
committerTim Angus <tim@ngus.net>2007-09-22 22:39:03 +0000
commita0d2fd3ce21bc91b5d715ee60e1df2a463168350 (patch)
tree2fef7235284b104f0a57e14b7fe3e12838883d64 /src/game/g_active.c
parent6eb2ff79c06c6d5acab3070937a680ff3494ba50 (diff)
* (bug 3309) Fix to angle clamping (/dev/humancontroller)
* (bug 3298) Boosters still heal and give poison when dead (David Severwright) * (bug 3070) Check map rotation targets exist during compilation * (bug 3282) Add missing terminating ^7 to chatText (Ben Millwood) * (bug 3357) Extend obituary name length to MAX_NAME_LENGTH (Rocinante)
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 953b939f..7ba6bd88 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -788,7 +788,7 @@ void ClientTimerActions( gentity_t *ent, int msec )
}
else if( boostEntity->s.eType == ET_BUILDABLE &&
boostEntity->s.modelindex == BA_A_BOOSTER &&
- boostEntity->spawned )
+ boostEntity->spawned && boostEntity->health > 0)
{
modifier = BOOSTER_REGEN_MOD;
break;