diff options
author | Tim Angus <tim@ngus.net> | 2004-10-02 20:58:16 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-10-02 20:58:16 +0000 |
commit | 7d66cee2661d2717ff76a4e6f73b75ddeea6d93e (patch) | |
tree | 1e27df382c29ca0f474be6cf406e358619dcf3dd /src/game/g_buildable.c | |
parent | 69c0ba88b5d5c745775750dca93d9844c0575733 (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.c | 5 |
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++; + } } } |