use local random for editor
This commit is contained in:
parent
44866ca8de
commit
ad27752541
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue