summaryrefslogtreecommitdiff
path: root/src/linkgraph
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-14 14:55:37 +0200
committerPatric Stout <github@truebrain.nl>2021-06-14 21:58:05 +0200
commit7b135a8269c6165f9d9fdec005413c5c3cd7797a (patch)
treec803c260cc9a4f5ceb81467078321f24f55146d5 /src/linkgraph
parent5cd0c65787a4c04bbb2294cf2e676eb5649e49fe (diff)
downloadopenttd-7b135a8269c6165f9d9fdec005413c5c3cd7797a.tar.xz
Codechange: use SLE_STRUCT(LIST) for Linkgraph chunks
Diffstat (limited to 'src/linkgraph')
-rw-r--r--src/linkgraph/linkgraph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraph.h b/src/linkgraph/linkgraph.h
index 5eb85e4c3..a11b67a52 100644
--- a/src/linkgraph/linkgraph.h
+++ b/src/linkgraph/linkgraph.h
@@ -527,7 +527,8 @@ protected:
friend class LinkGraph::Node;
friend SaveLoadTable GetLinkGraphDesc();
friend SaveLoadTable GetLinkGraphJobDesc();
- friend void SaveLoad_LinkGraph(LinkGraph &lg);
+ friend class SlLinkgraphNode;
+ friend class SlLinkgraphEdge;
CargoID cargo; ///< Cargo of this component's link graph.
Date last_compression; ///< Last time the capacities and supplies were compressed.