forked from mirror/OpenTTD
(svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
- CHANCE*() instead of mumbling strange numbers
This commit is contained in:
@@ -977,7 +977,7 @@ static void DoDisaster(void)
|
||||
if (j == 0)
|
||||
return;
|
||||
|
||||
_disaster_initprocs[buf[GB(Random(), 0, 16) * j >> 16]]();
|
||||
_disaster_initprocs[buf[RandomRange(j)]]();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user