summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index 03b8d82..52b669b 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1483,12 +1483,6 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker,
if( targ->client )
{
targ->client->ps.stats[ STAT_HEALTH ] = targ->health;
-
- //turn off cloak if it is already activated and if the target is damaged
- if( targ->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS &&
- targ->client->cloakActivated &&
- !targ->client->cloakReady )
- targ->client->ps.eFlags &= ~EF_MOVER_STOP;
}
}