mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-23 14:39:08 +00:00
(svn r1297) Language fixes in the source.. (ln-)
This commit is contained in:
4
misc.c
4
misc.c
@@ -713,10 +713,10 @@ void IncreaseDate()
|
||||
|
||||
int FindFirstBit(uint32 value)
|
||||
{
|
||||
// This is much faster then the one that was before here.
|
||||
// This is much faster than the one that was before here.
|
||||
// Created by Darkvater.. blame him if it is wrong ;)
|
||||
// Btw, the macro FINDFIRSTBIT is better to use when your value is
|
||||
// not more then 128.
|
||||
// not more than 128.
|
||||
byte i = 0;
|
||||
if (value & 0xffff0000) { value >>= 16; i += 16; }
|
||||
if (value & 0x0000ff00) { value >>= 8; i += 8; }
|
||||
|
Reference in New Issue
Block a user