Fixed listening to foot steps

This commit is contained in:
INeedGames 2020-12-23 22:20:36 -06:00
parent bfb0a9ea25
commit 2532aa8e91

View File

@ -116,7 +116,6 @@ init()
level.bots_maxShotgunDistance = 500; level.bots_maxShotgunDistance = 500;
level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance; level.bots_maxShotgunDistance *= level.bots_maxShotgunDistance;
level.bots_listenDist = 100; level.bots_listenDist = 100;
level.bots_listenDist *= level.bots_listenDist;
level.smokeRadius = 255; level.smokeRadius = 255;
@ -394,7 +393,7 @@ watchScrabler()
if(level.teamBased && player2.team == player.team) if(level.teamBased && player2.team == player.team)
continue; continue;
if (DistanceSquared(player2.origin, player.origin) > 100*100) if (DistanceSquared(player2.origin, player.origin) > 256*256)
continue; continue;
player2.bot_isScrambled = true; player2.bot_isScrambled = true;