This commit is contained in:
Chris Forbes
2011-12-28 08:16:51 +13:00
parent e84d90fc3a
commit 85eeb8b819

View File

@@ -209,7 +209,7 @@ namespace OpenRA
// hash all the traits that tick // hash all the traits that tick
foreach (var x in traitDict.ActorsWithTraitMultiple<ISync>(this)) foreach (var x in traitDict.ActorsWithTraitMultiple<ISync>(this))
ret += n++*(int) (1+x.Actor.ActorID)*Sync.CalculateSyncHash(x.Trait); ret += n++ * (int)(1+x.Actor.ActorID) * Sync.CalculateSyncHash(x.Trait);
// Hash the shared rng // Hash the shared rng
ret += SharedRandom.Last; ret += SharedRandom.Last;