summaryrefslogtreecommitdiff
path: root/src/bridge_map.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-11-20 15:44:24 +0000
committeralberth <alberth@openttd.org>2010-11-20 15:44:24 +0000
commitab50f74d7fa3c1c96de54012ccc197c4800901c8 (patch)
treefbee322b7dcec81c6a98a1ee923984d902e834f9 /src/bridge_map.h
parent38dc34828ea679e4952f9f30361382e29d2f2e06 (diff)
downloadopenttd-ab50f74d7fa3c1c96de54012ccc197c4800901c8.tar.xz
(svn r21273) -Codechange: Return values should start at the same line.
Diffstat (limited to 'src/bridge_map.h')
-rw-r--r--src/bridge_map.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/bridge_map.h b/src/bridge_map.h
index 8c364cb67..796bae28a 100644
--- a/src/bridge_map.h
+++ b/src/bridge_map.h
@@ -45,13 +45,8 @@ static inline bool IsBridgeTile(TileIndex t)
*/
static inline bool MayHaveBridgeAbove(TileIndex t)
{
- return
- IsTileType(t, MP_CLEAR) ||
- IsTileType(t, MP_RAILWAY) ||
- IsTileType(t, MP_ROAD) ||
- IsTileType(t, MP_WATER) ||
- IsTileType(t, MP_TUNNELBRIDGE) ||
- IsTileType(t, MP_OBJECT);
+ return IsTileType(t, MP_CLEAR) || IsTileType(t, MP_RAILWAY) || IsTileType(t, MP_ROAD) ||
+ IsTileType(t, MP_WATER) || IsTileType(t, MP_TUNNELBRIDGE) || IsTileType(t, MP_OBJECT);
}
/**