From f76c031bf286c9dbc69aef70cc9cbe15a9afda7e Mon Sep 17 00:00:00 2001 From: cypress Date: Wed, 29 Nov 2023 11:33:49 -0500 Subject: [PATCH] SERVER: Fix Hellhounds never sprinting with STANDARD progs --- source/server/ai/dog_core.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/server/ai/dog_core.qc b/source/server/ai/dog_core.qc index ebbb814..124d6e8 100644 --- a/source/server/ai/dog_core.qc +++ b/source/server/ai/dog_core.qc @@ -140,7 +140,11 @@ void() Dog_Think = // Hellhounds begin to run whenever their target is in their line of sight. // So perform a tracemove and see if it hits it if (self.ads_release == 0) { +#ifdef FTE 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; }