From ab38623ea68a5e00fdbff08aac85f1d45d77a024 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 4 Mar 2017 12:43:48 +0000 Subject: [PATCH] Chunnel: Adjust documentation and whitespace in tunnel_map.h --- src/tunnel_map.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tunnel_map.h b/src/tunnel_map.h index 2ea126523f..b684437057 100644 --- a/src/tunnel_map.h +++ b/src/tunnel_map.h @@ -57,6 +57,7 @@ bool IsTunnelInWay(TileIndex, int z, bool chunnel_allowed = false); * Makes a road tunnel entrance * @param t the entrance of the tunnel * @param o the owner of the entrance + * @param id the tunnel ID * @param d the direction facing out of the tunnel * @param r the road type used in the tunnel */ @@ -79,10 +80,11 @@ static inline void MakeRoadTunnel(TileIndex t, Owner o, TunnelID id, DiagDirecti * Makes a rail tunnel entrance * @param t the entrance of the tunnel * @param o the owner of the entrance + * @param id the tunnel ID * @param d the direction facing out of the tunnel * @param r the rail type used in the tunnel */ -static inline void MakeRailTunnel(TileIndex t, Owner o,TunnelID id, DiagDirection d, RailType r) +static inline void MakeRailTunnel(TileIndex t, Owner o, TunnelID id, DiagDirection d, RailType r) { SetTileType(t, MP_TUNNELBRIDGE); SetTileOwner(t, o); @@ -96,6 +98,4 @@ static inline void MakeRailTunnel(TileIndex t, Owner o,TunnelID id, DiagDirectio _me[t].m7 = 0; } - - #endif /* TUNNEL_MAP_H */