summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-22 15:59:40 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-22 15:59:40 +0200
commit43763238a0187c885482283c8d7e5ae0137423b5 (patch)
tree132fe778c611b006e66795b4d47c79043a13c57e /src/game/g_combat.c
parent4f02df7e08cd3f16e3e1a048749b0c688346a60a (diff)
Remove Cloak.
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;
}
}