From 43763238a0187c885482283c8d7e5ae0137423b5 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 22 Jun 2015 15:59:40 +0200 Subject: Remove Cloak. --- src/game/g_combat.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/game/g_combat.c') 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; } } -- cgit