diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-10-22 16:13:28 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-10-22 16:13:28 +0000 |
commit | 29e987f3fc13dc1e2a90f07556bf033b81a13e36 (patch) | |
tree | c8f1abf4c61c5c7994792b231ead35f2910559e8 /src/saveload | |
parent | ec2d36a4a40646e260f4fbcdcd984e278ce8387a (diff) | |
download | openttd-29e987f3fc13dc1e2a90f07556bf033b81a13e36.tar.xz |
(svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges.
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/linkgraph_sl.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/saveload/linkgraph_sl.cpp b/src/saveload/linkgraph_sl.cpp index f7d2893ce..f0dcb1dd4 100644 --- a/src/saveload/linkgraph_sl.cpp +++ b/src/saveload/linkgraph_sl.cpp @@ -118,12 +118,13 @@ static const SaveLoad _node_desc[] = { * SaveLoad desc for a link graph edge. */ 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_INT32), - SLE_VAR(Edge, next_edge, SLE_UINT16), - SLE_END() + SLE_VAR(Edge, distance, SLE_UINT32), + SLE_VAR(Edge, capacity, SLE_UINT32), + SLE_VAR(Edge, usage, SLE_UINT32), + SLE_VAR(Edge, last_unrestricted_update, SLE_INT32), + SLE_CONDVAR(Edge, last_restricted_update, SLE_INT32, 187, SL_MAX_VERSION), + SLE_VAR(Edge, next_edge, SLE_UINT16), + SLE_END() }; /** |