diff options
author | /dev/humancontroller <devhc@example.com> | 2015-03-28 02:54:30 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:12 +0100 |
commit | f8dd3e4323d44c717c34e64d26128cc9ed4d6c98 (patch) | |
tree | 74b55396a63bdb585911bd39d6f6a56fbcf0238f /src/game/g_buildable.c | |
parent | 02b95e3bc75c48849dcfc34e32cca028ee09a3b7 (diff) |
refactor stuff
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r-- | src/game/g_buildable.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index a61b0eff..9e122bdc 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -2261,9 +2261,6 @@ void HMGTurret_FindEnemy( gentity_t *self ) gentity_t *target; int start; - if( self->enemy ) - self->enemy->targeted = NULL; - self->enemy = NULL; // Look for targets in a box around the turret @@ -2283,7 +2280,6 @@ void HMGTurret_FindEnemy( gentity_t *self ) continue; self->enemy = target; - self->enemy->targeted = self; return; } } @@ -4145,7 +4141,6 @@ static void G_LayoutBuildItem( buildable_t buildable, vec3_t origin, gentity_t *builder; builder = G_Spawn( ); - builder->client = 0; VectorCopy( origin, builder->s.pos.trBase ); VectorCopy( angles, builder->s.angles ); VectorCopy( origin2, builder->s.origin2 ); @@ -4376,7 +4371,6 @@ void G_BuildLogRevert( int id ) { gentity_t *builder = G_Spawn(); - builder->client = NULL; VectorCopy( log->origin, builder->s.pos.trBase ); VectorCopy( log->angles, builder->s.angles ); VectorCopy( log->origin2, builder->s.origin2 ); |