diff options
author | Patric Stout <truebrain@openttd.org> | 2021-06-14 14:55:37 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-06-14 21:58:05 +0200 |
commit | 7b135a8269c6165f9d9fdec005413c5c3cd7797a (patch) | |
tree | c803c260cc9a4f5ceb81467078321f24f55146d5 /src/linkgraph | |
parent | 5cd0c65787a4c04bbb2294cf2e676eb5649e49fe (diff) | |
download | openttd-7b135a8269c6165f9d9fdec005413c5c3cd7797a.tar.xz |
Codechange: use SLE_STRUCT(LIST) for Linkgraph chunks
Diffstat (limited to 'src/linkgraph')
-rw-r--r-- | src/linkgraph/linkgraph.h | 3 |
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. |