Remove PathHash

This is 9(!) years old and we haven't had
pathfinding-related desyncs in quite a while.

We can still bring this back later if we ever
need it again.
This commit is contained in:
reaperrr
2021-03-07 00:47:20 +01:00
committed by Paul Chote
parent b8e64df4b1
commit 441e18b898
2 changed files with 0 additions and 4 deletions

View File

@@ -150,7 +150,6 @@ namespace OpenRA.Mods.Common.Activities
List<CPos> EvalPath(BlockedByActor check)
{
var path = getPath(check).TakeWhile(a => a != mobile.ToCell).ToList();
mobile.PathHash = HashList(path);
return path;
}

View File

@@ -217,9 +217,6 @@ namespace OpenRA.Mods.Common.Traits
[Sync]
public CPos ToCell => toCell;
[Sync]
public int PathHash; // written by Move.EvalPath, to temporarily debug this crap.
public Locomotor Locomotor { get; private set; }
public IPathFinder Pathfinder { get; private set; }