From 7d66cee2661d2717ff76a4e6f73b75ddeea6d93e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 2 Oct 2004 20:58:16 +0000 Subject: * 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 --- src/game/g_buildable.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/g_buildable.c') 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++; + } } } -- cgit