From 7577954ced47f09803bc1b3881d47f222dbd306b Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 18 Apr 2007 22:10:36 +0000 Subject: (svn r9672) -Cleanup: lots of coding style fixes around operands. --- src/ai/ai.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ai/ai.h') diff --git a/src/ai/ai.h b/src/ai/ai.h index c1d0726c3..4e7c999a5 100644 --- a/src/ai/ai.h +++ b/src/ai/ai.h @@ -77,8 +77,8 @@ static inline bool AI_AllowNewAI() return true; } -#define AI_CHANCE16(a,b) ((uint16) AI_Random() <= (uint16)((65536 * a) / b)) -#define AI_CHANCE16R(a,b,r) ((uint16)(r = AI_Random()) <= (uint16)((65536 * a) / b)) +#define AI_CHANCE16(a, b) ((uint16) AI_Random() <= (uint16)((65536 * a) / b)) +#define AI_CHANCE16R(a, b, r) ((uint16)(r = AI_Random()) <= (uint16)((65536 * a) / b)) /** * The random-function that should be used by ALL AIs. -- cgit v1.2.3-70-g09d2