(svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles.

This commit is contained in:
frosch
2011-07-04 20:37:20 +00:00
parent 8b18292a2e
commit 8930337aae
5 changed files with 74 additions and 17 deletions

View File

@@ -207,7 +207,7 @@ const SpriteGroup *RandomizedSpriteGroup::Resolve(ResolverObject *object) const
if (res) {
waiting_triggers &= ~match;
object->reseed |= (this->num_groups - 1) << this->lowest_randbit;
object->reseed[this->var_scope] |= (this->num_groups - 1) << this->lowest_randbit;
} else {
waiting_triggers |= object->trigger;
}