mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Fix Hellhounds never sprinting with STANDARD progs
This commit is contained in:
parent
5d7d18ab6c
commit
f76c031bf2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue