From 4e4720f2178c9e0faf7233e55bec71e6ae19f9ad Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 6 Jun 2021 16:03:56 +0200 Subject: Codechange: remove the special station/vehicle code from SaveLoad With the new SLEG_STRUCT it is much easier to embed a struct in a struct, where the sub-struct has limitations on when it is being used. This makes both the code easier to read (less magic) and avoids the SaveLoad needing to know all these things about Stations and Vehicles. --- src/saveload/saveload_internal.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/saveload/saveload_internal.h') diff --git a/src/saveload/saveload_internal.h b/src/saveload/saveload_internal.h index 920be0417..a7fc54d7d 100644 --- a/src/saveload/saveload_internal.h +++ b/src/saveload/saveload_internal.h @@ -23,7 +23,6 @@ void ResetOldNames(); void ResetOldWaypoints(); void MoveBuoysToWaypoints(); void MoveWaypointsToBaseStations(); -SaveLoadTable GetBaseStationDescription(); void AfterLoadVehicles(bool part_of_load); void FixupTrainLengths(); -- cgit v1.2.3-54-g00ecf