mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-22 10:15:44 +00:00
no distance check on script targets
This commit is contained in:
parent
d7ca5edca6
commit
eb231f8f96
@ -499,14 +499,6 @@ target()
|
||||
|
||||
for(;;)
|
||||
{
|
||||
if(daDist > distsq)
|
||||
{
|
||||
if(isObjDef)
|
||||
self.bot.targets[key] = undefined;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if(SmokeTrace(myEye, entOrigin, level.smokeRadius) && bulletTracePassed(myEye, entOrigin, false, ent))
|
||||
{
|
||||
if(!isObjDef)
|
||||
|
Loading…
x
Reference in New Issue
Block a user