diff options
author | peter1138 <peter1138@openttd.org> | 2006-06-03 19:23:14 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-06-03 19:23:14 +0000 |
commit | 91de9b7105079bdd47eb79d57f2676dc5b4760db (patch) | |
tree | 9ecf6657d7e0e6fd57fad74738d8800d37ceb451 | |
parent | ce90b70a4181dde842beca57299843b977e32677 (diff) | |
download | openttd-91de9b7105079bdd47eb79d57f2676dc5b4760db.tar.xz |
(svn r5088) - Add another set of parentheses, missed in r5085, somehow... (thanks ASM)
-rw-r--r-- | macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ static inline int KillFirstBit2x64(int value) #define CHANCE16(a,b) ((uint16)Random() <= (uint16)((65536 * (a)) / (b))) -#define CHANCE16R(a,b,r) ((uint16)(r=Random()) <= (uint16)((65536 * a) / (b))) +#define CHANCE16R(a,b,r) ((uint16)(r=Random()) <= (uint16)((65536 * (a)) / (b))) #define CHANCE16I(a,b,v) ((uint16)(v) <= (uint16)((65536 * (a)) / (b))) |