mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 22:51:36 +00:00
SERVER: Restore different walktypes for dogs.
Was a note about crashing but couldn't repro. Hopefully I did my due dilligence.
This commit is contained in:
parent
3fabf292c2
commit
11f4d470c8
1 changed files with 1 additions and 4 deletions
|
@ -137,13 +137,10 @@ void() Dog_Walk_Setup =
|
||||||
// decide our walktype based on player distance
|
// decide our walktype based on player distance
|
||||||
void() Dog_Think =
|
void() Dog_Think =
|
||||||
{
|
{
|
||||||
// FIXME - crash
|
|
||||||
self.walktype = 2;
|
|
||||||
/*
|
|
||||||
if(vlen(self.enemy.origin - self.origin) < 300)
|
if(vlen(self.enemy.origin - self.origin) < 300)
|
||||||
self.walktype = 2;
|
self.walktype = 2;
|
||||||
else
|
else
|
||||||
self.walktype = 1;*/
|
self.walktype = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
float dogCount;
|
float dogCount;
|
||||||
|
|
Loading…
Reference in a new issue