added a random delay before repathing (tunable per-unittype in Mobile). fixes a lot of pathological pathing perf.

This commit is contained in:
Chris Forbes
2010-03-07 17:49:12 +13:00
parent 2547045881
commit a303299bbb
3 changed files with 17 additions and 1 deletions

View File

@@ -200,7 +200,7 @@ namespace OpenRA.Graphics
}
}
if (ShowUnitPaths)
//if (ShowUnitPaths)
{
var mobile = selectedUnit.traits.GetOrDefault<Mobile>();
if (mobile != null)