mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 08:35:11 +01:00
(svn r3513) Fix strange typo in last commit ...
This commit is contained in:
parent
80952253c2
commit
2b98509692
@ -944,7 +944,7 @@ static int PickRandomBit(uint bits)
|
||||
|
||||
num = RandomRange(num);
|
||||
|
||||
for (i = 0; !((bits & 1) && ((int)--num) < 0); bits >> = 1, i++);
|
||||
for (i = 0; !((bits & 1) && ((int)--num) < 0); bits >>= 1, i++);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user