mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
[UnitAI] inline last if in ShouldChaseTargetedEntity
This was SVN commit r24023.
This commit is contained in:
parent
b606cad5da
commit
9be759fb08
1 changed files with 1 additions and 4 deletions
|
|
@ -5118,10 +5118,7 @@ UnitAI.prototype.ShouldChaseTargetedEntity = function(target, force)
|
|||
return true;
|
||||
}
|
||||
|
||||
if (force)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return force;
|
||||
};
|
||||
|
||||
//// External interface functions ////
|
||||
|
|
|
|||
Loading…
Reference in a new issue