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:
Steam Deck User 2023-02-07 12:49:21 -05:00
parent 3fabf292c2
commit 11f4d470c8

View file

@ -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;