use local random for editor

This commit is contained in:
Tim Felgentreff 2020-11-21 15:17:37 +01:00
parent 44866ca8de
commit ad27752541

View file

@ -590,7 +590,7 @@ unsigned int CTileset::getTileNumber(int basic, bool random, bool filler) const
++n;
}
}
n = SyncRand() % n;
n = MyRand() % n;
int i = -1;
do {
while (++i < 16 && !tiles[tile + i].tile) {