summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-10-02 20:58:16 +0000
committerTim Angus <tim@ngus.net>2004-10-02 20:58:16 +0000
commit7d66cee2661d2717ff76a4e6f73b75ddeea6d93e (patch)
tree1e27df382c29ca0f474be6cf406e358619dcf3dd /src/game/g_buildable.c
parent69c0ba88b5d5c745775750dca93d9844c0575733 (diff)
* Fixed Who's uncreation bug
* Reduced range and repeat rate of chimera lightning * Medistats now heal booster poison * Hydra gas now requires a LOS to work
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 54717b3b..17cd1402 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1702,7 +1702,12 @@ void HMedistat_Think( gentity_t *self )
self->active = qfalse;
}
else if( self->enemy ) //heal!
+ {
+ if( self->enemy->client && self->enemy->client->ps.stats[ STAT_STATE ] & SS_POISONED )
+ self->enemy->client->ps.stats[ STAT_STATE ] &= ~SS_POISONED;
+
self->enemy->health++;
+ }
}
}