summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-06-10 09:44:04 +0200
committerPatric Stout <github@truebrain.nl>2021-06-14 21:58:05 +0200
commit0bdca02bdf524647c8496318551ed48220bd90de (patch)
tree6c5d250fb397d034091d254774c2ec995f343c16 /src/cargopacket.h
parentaf43fc3d62cbeccd0cde3280b273e83889a0697c (diff)
downloadopenttd-0bdca02bdf524647c8496318551ed48220bd90de.tar.xz
Codechange: use SLE_STRUCT(LIST) for Station chunks
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r--src/cargopacket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h
index a5166e959..0e24bc623 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -456,8 +456,8 @@ protected:
public:
/** The super class ought to know what it's doing. */
friend class CargoList<StationCargoList, StationCargoPacketMap>;
- /** The stations, via GoodsEntry, have a CargoList. */
- friend SaveLoadTable GetGoodsDesc();
+ /* So we can use private/protected variables in the saveload code */
+ friend class SlStationGoods;
friend class CargoLoad;
friend class CargoTransfer;