mirror of
https://github.com/nzp-team/quakec.git
synced 2025-01-19 07:40:51 +00:00
SERVER: Stop executing push_away_zombies
It was mainly responsible for making the horde less tight but this is less accurate to CoD as well as being incredibly performance taxing, usually taking 5% of overall execution time on PSP because of the findradius() spam.
This commit is contained in:
parent
7b0cee2d15
commit
e8d8fd63d9
1 changed files with 2 additions and 2 deletions
|
@ -198,8 +198,8 @@ void(float dist, vector vec) do_walk_to_vec =
|
|||
self.ideal_yaw = vectoyaw(vec - self.origin);
|
||||
if(self.outside == false)
|
||||
{
|
||||
push_away_zombies();
|
||||
//self.ideal_yaw += avoid_zombies(); //no longer relevant since our direction doesn't care about our yaw any more
|
||||
// this is a performance net negative for like 0 gain in horde space.
|
||||
//push_away_zombies();
|
||||
}
|
||||
ChangeYaw();
|
||||
vector new_velocity;
|
||||
|
|
Loading…
Reference in a new issue