diff --git a/src/tunnelbridge.h b/src/tunnelbridge.h --- a/src/tunnelbridge.h +++ b/src/tunnelbridge.h @@ -22,7 +22,7 @@ void MarkBridgeDirty(TileIndex tile); * @param end The end of the tunnel or bridge. * @return length of bridge/tunnel middle */ -static inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end) +inline uint GetTunnelBridgeLength(TileIndex begin, TileIndex end) { int x1 = TileX(begin); int y1 = TileY(begin); @@ -38,7 +38,7 @@ static inline uint GetTunnelBridgeLength * @param end The end of the tunnel or bridge. * @param owner The new owner to set */ -static inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner) +inline void SetTunnelBridgeOwner(TileIndex begin, TileIndex end, Owner owner) { SetTileOwner(begin, owner); SetTileOwner(end, owner);