summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-03-29 19:44:43 +0200
committerPaweł Redman <pawel.redman@gmail.com>2020-03-29 19:44:43 +0200
commit36ebcd1cc0933ee0bfe9f6ac15879286d3199046 (patch)
tree6328d52d57a36ee531fdd4ac4e1988b210e7492f /src
parent019d78580367a6607c5aa70a1d0aabe8eb80510d (diff)
Fix the medistation.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c4
1 files changed, 2 insertions, 2 deletions
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 )