diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/linkgraph_sl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/saveload/linkgraph_sl.cpp b/src/saveload/linkgraph_sl.cpp index 121934d8d..f7d2893ce 100644 --- a/src/saveload/linkgraph_sl.cpp +++ b/src/saveload/linkgraph_sl.cpp @@ -30,7 +30,7 @@ static uint _num_nodes; const SaveLoad *GetLinkGraphDesc() { static const SaveLoad link_graph_desc[] = { - SLE_VAR(LinkGraph, last_compression, SLE_UINT32), + SLE_VAR(LinkGraph, last_compression, SLE_INT32), SLEG_VAR(_num_nodes, SLE_UINT16), SLE_VAR(LinkGraph, cargo, SLE_UINT8), SLE_END() @@ -73,7 +73,7 @@ const SaveLoad *GetLinkGraphJobDesc() } const SaveLoad job_desc[] = { - SLE_VAR(LinkGraphJob, join_date, SLE_UINT32), + SLE_VAR(LinkGraphJob, join_date, SLE_INT32), SLE_VAR(LinkGraphJob, link_graph.index, SLE_UINT16), SLE_END() }; @@ -110,7 +110,7 @@ static const SaveLoad _node_desc[] = { SLE_VAR(Node, supply, SLE_UINT32), SLE_VAR(Node, demand, SLE_UINT32), SLE_VAR(Node, station, SLE_UINT16), - SLE_VAR(Node, last_update, SLE_UINT32), + SLE_VAR(Node, last_update, SLE_INT32), SLE_END() }; @@ -121,7 +121,7 @@ static const SaveLoad _edge_desc[] = { SLE_VAR(Edge, distance, SLE_UINT32), SLE_VAR(Edge, capacity, SLE_UINT32), SLE_VAR(Edge, usage, SLE_UINT32), - SLE_VAR(Edge, last_update, SLE_UINT32), + SLE_VAR(Edge, last_update, SLE_INT32), SLE_VAR(Edge, next_edge, SLE_UINT16), SLE_END() }; |