sync the last path generated, to try and catch this MUCH earlier

This commit is contained in:
Chris Forbes
2010-09-21 21:43:16 +12:00
parent b35a7d9f8d
commit 3a617f8934
2 changed files with 15 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ namespace OpenRA.Traits
set { SetLocation( __fromCell, value ); }
}
[Sync]
public int PathHash; // written by Move.EvalPath, to temporarily debug this crap.
void SetLocation(int2 from, int2 to)
{
if (fromCell == from && toCell == to) return;