From 36ebcd1cc0933ee0bfe9f6ac15879286d3199046 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 29 Mar 2020 19:44:43 +0200 Subject: Fix the medistation. --- src/game/g_buildable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/g_buildable.c') diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index f1c2202..9fd6f1e 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2139,7 +2139,7 @@ void HMedistat_Think( gentity_t *self ) { player = &g_entities[ entityList[ i ] ]; - if( player->client && player->client->man_bad ) + if( player->client && !player->client->man_bad ) { if( player->health < player->client->ps.stats[ STAT_MAX_HEALTH ] && player->client->ps.pm_type != PM_DEAD && @@ -2157,7 +2157,7 @@ void HMedistat_Think( gentity_t *self ) { player = &g_entities[ entityList[ i ] ]; - if( player->client && player->client->man_bad ) + if( player->client && !player->client->man_bad ) { if( player->health < player->client->ps.stats[ STAT_MAX_HEALTH ] && player->client->ps.pm_type != PM_DEAD ) -- cgit