mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00: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);
|
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;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user