summaryrefslogtreecommitdiff
path: root/src/order_backup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/order_backup.h')
-rw-r--r--src/order_backup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/order_backup.h b/src/order_backup.h
index 5d1dcef50..e1b71a71d 100644
--- a/src/order_backup.h
+++ b/src/order_backup.h
@@ -15,6 +15,7 @@
#include "tile_type.h"
#include "vehicle_type.h"
#include "base_consist.h"
+#include "saveload/saveload.h"
/** Unique identifier for an order backup. */
typedef uint8 OrderBackupID;
@@ -34,7 +35,7 @@ static const uint32 MAKE_ORDER_BACKUP_FLAG = 1U << 31;
*/
struct OrderBackup : OrderBackupPool::PoolItem<&_order_backup_pool>, BaseConsist {
private:
- friend const struct SaveLoad *GetOrderBackupDescription(); ///< Saving and loading of order backups.
+ friend SaveLoadTable GetOrderBackupDescription(); ///< Saving and loading of order backups.
friend void Load_BKOR(); ///< Creating empty orders upon savegame loading.
uint32 user; ///< The user that requested the backup.
TileIndex tile; ///< Tile of the depot where the order was changed.