diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_buildable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 0336f031..d90c61b5 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2194,7 +2194,7 @@ void HMedistat_Think( gentity_t *self ) if( self->enemy == player && player->client && player->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS && player->health < player->client->ps.stats[ STAT_MAX_HEALTH ] && - player->client->ps.pm_type != PM_DEAD ) + PM_Live( player->client->ps.pm_type ) ) { occupied = qtrue; player->client->ps.stats[ STAT_STATE ] |= SS_HEALING_ACTIVE; @@ -2214,7 +2214,7 @@ void HMedistat_Think( gentity_t *self ) { if( ( player->health < player->client->ps.stats[ STAT_MAX_HEALTH ] || player->client->ps.stats[ STAT_STAMINA ] < MAX_STAMINA ) && - player->client->ps.pm_type != PM_DEAD ) + PM_Live( player->client->ps.pm_type ) ) { self->enemy = player; |