forked from mirrors/0ad
[UnitAI] inline last if in ShouldChaseTargetedEntity
This was SVN commit r24023.
This commit is contained in:
@@ -5118,10 +5118,7 @@ UnitAI.prototype.ShouldChaseTargetedEntity = function(target, force)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (force)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return force;
|
||||
};
|
||||
|
||||
//// External interface functions ////
|
||||
|
||||
Reference in New Issue
Block a user