From f15ee5ac6702e14a827a2643bfa893796c5659df Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sat, 29 Feb 2020 02:31:53 +0000 Subject: add !practise command --- src/game/g_buildable.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/game/g_buildable.c') diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 461c2d0..1117aa7 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -1986,9 +1986,6 @@ void HMedistat_Think( gentity_t *self ) { player = &g_entities[ entityList[ i ] ]; - if( player->flags & FL_NOTARGET ) - continue; // notarget cancels even beneficial effects? - if( player->client && player->client->ps.stats[ STAT_PTEAM ] == PTE_HUMANS ) { if( player->health < player->client->ps.stats[ STAT_MAX_HEALTH ] && @@ -3523,7 +3520,6 @@ static gentity_t *G_Build( gentity_t *builder, buildable_t buildable, vec3_t ori built->splashMethodOfDeath = BG_FindMODForBuildable( buildable ); built->nextthink = BG_FindNextThinkForBuildable( buildable ); - built->takedamage = qtrue; built->spawned = qfalse; built->buildTime = built->s.time = level.time; -- cgit