// avoiding dangers and obstacles
vector dst_ahead, dst_down;
makevectors(self.v_angle_y * '0 1 0');
- dst_ahead = normalize(self.origin + self.view_ofs + (self.velocity * 0.4) + (v_forward * 32 * 3));
+ dst_ahead = self.origin + self.view_ofs + (self.velocity * 0.4) + (v_forward * 32 * 3);
dst_down = dst_ahead - '0 0 1500';
// Look ahead
mintime = e.fire_endtime - time;
maxtime = max(mintime, t);
- mindps = max(0.1, e.fire_damagepersec);
+ mindps = e.fire_damagepersec;
maxdps = max(mindps, dps);
if(maxtime > mintime || maxdps > mindps)