diff --git a/src/monster/turret/turret.c b/src/monster/turret/turret.c index afc4d2d..d8b0205 100644 --- a/src/monster/turret/turret.c +++ b/src/monster/turret/turret.c @@ -980,7 +980,6 @@ turret_checkattack(edict_t *self) vec3_t spot1, spot2; float chance, nexttime; trace_t tr; - int enemy_range; if (!self) { @@ -1048,20 +1047,6 @@ turret_checkattack(edict_t *self) return false; } - enemy_range = range(self, self->enemy); - - if (enemy_range == RANGE_MELEE) - { - /* don't always melee in easy mode */ - if ((skill->value == SKILL_EASY) && (rand() & 3)) - { - return false; - } - - self->monsterinfo.attack_state = AS_MISSILE; - return true; - } - if (self->spawnflags & SPAWN_ROCKET) { chance = 0.10;