mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
Fixed listening to foot steps
This commit is contained in:
parent
bfb0a9ea25
commit
2532aa8e91
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user