SERVER: Fix Hellhounds never sprinting with STANDARD progs

This commit is contained in:
cypress 2023-11-29 11:33:49 -05:00
parent 5d7d18ab6c
commit f76c031bf2

View file

@ -140,7 +140,11 @@ void() Dog_Think =
// Hellhounds begin to run whenever their target is in their line of sight. // Hellhounds begin to run whenever their target is in their line of sight.
// So perform a tracemove and see if it hits it // So perform a tracemove and see if it hits it
if (self.ads_release == 0) { if (self.ads_release == 0) {
#ifdef FTE
float result = tracemove(self.origin, VEC_HULL_MIN, VEC_HULL_MAX, self.enemy.origin, TRUE, self); float result = tracemove(self.origin, VEC_HULL_MIN, VEC_HULL_MAX, self.enemy.origin, TRUE, self);
#else
float result = tracemove_fake(self.origin, VEC_HULL_MIN, VEC_HULL_MAX, self.enemy.origin, TRUE, self);
#endif // FTE
self.ads_release = result; self.ads_release = result;
} }