summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-01 09:11:31 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-01 09:11:31 +0000
commit2b9850969279c76e1739c432854121b0e6d4070f (patch)
tree14da02b587b3c42ec299faa64b6ce1ef683b02cd
parent80952253c2e8141d1933b8af7bf163c68e8224ef (diff)
downloadopenttd-2b9850969279c76e1739c432854121b0e6d4070f.tar.xz
(svn r3513) Fix strange typo in last commit ...
-rw-r--r--roadveh_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c
index 0ee646ae6..f9fd96d87 100644
--- a/roadveh_cmd.c
+++ b/roadveh_cmd.c
@@ -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;
}