sync SharedRandom

This commit is contained in:
Paul Chote
2010-09-18 21:33:12 +12:00
parent 966e3bb71a
commit 410daecab6
4 changed files with 10 additions and 2 deletions

View File

@@ -182,6 +182,9 @@ namespace OpenRA
foreach (var x in traitDict.ActorsWithTraitMultiple<object>(this))
ret += n++ * (int)x.Actor.ActorID * Sync.CalculateSyncHash(x.Trait);
// Hash the shared rng
ret += SharedRandom.Last;
return ret;
}
}