Fix build

This commit is contained in:
hondacrx
2017-11-13 14:14:59 -05:00
parent 02535a0d47
commit 2960d88aed
6 changed files with 7 additions and 8 deletions
@@ -554,10 +554,8 @@ namespace Game.Entities
// Hunter trap: Search units which are unfriendly to the trap's owner
var checker = new NearestUnfriendlyNoTotemUnitInObjectRangeCheck(this, owner, radius);
var searcher = new UnitSearcher(this, checker);
Cell.VisitGridObjects(this, searcher, radius);
Cell.VisitAllObjects(this, searcher, radius);
target = searcher.GetTarget();
if (target == null)
Cell.VisitWorldObjects(this, searcher, radius);
}
else
{