summaryrefslogtreecommitdiff
path: root/src/cargopacket.h
diff options
context:
space:
mode:
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 abb8d98c2..a5166e959 100644
--- a/src/cargopacket.h
+++ b/src/cargopacket.h
@@ -305,8 +305,8 @@ public:
friend class StationCargoList;
/** The super class ought to know what it's doing. */
friend class CargoList<VehicleCargoList, CargoPacketList>;
- /** The vehicles have a cargo list (and we want that saved). */
- friend SaveLoadTable GetVehicleDescription(VehicleType vt);
+ /* So we can use private/protected variables in the saveload code */
+ friend class SlVehicleCommon;
friend class CargoShift;
friend class CargoTransfer;