summaryrefslogtreecommitdiff
path: root/src/road_func.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
committersmatz <smatz@openttd.org>2009-08-14 17:11:59 +0000
commitc5533ae4708d85dcdff8e53515e17ab593f7f361 (patch)
tree8fd6af1f0c5acb1263bb85643a19f5516a6822a5 /src/road_func.h
parent3108ff7ac667edf872ee96c6331f0f45e5253d98 (diff)
downloadopenttd-c5533ae4708d85dcdff8e53515e17ab593f7f361.tar.xz
(svn r17168) -Codechange: apply coding style to if and while statements
Diffstat (limited to 'src/road_func.h')
-rw-r--r--src/road_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_func.h b/src/road_func.h
index 4b96cd608..b11f75c08 100644
--- a/src/road_func.h
+++ b/src/road_func.h
@@ -94,7 +94,7 @@ static inline RoadBits MirrorRoadBits(RoadBits r)
*/
static inline RoadBits RotateRoadBits(RoadBits r, DiagDirDiff rot)
{
- for (; rot > (DiagDirDiff)0; rot--){
+ for (; rot > (DiagDirDiff)0; rot--) {
r = (RoadBits)(GB(r, 0, 1) << 3 | GB(r, 1, 3));
}
return r;