summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2019-01-27 15:35:12 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2019-02-03 18:00:16 +0100
commitfaee0737e05c0eb42461b51807083ebc7078d2f5 (patch)
treec17adea2f97d241c9f82798303fdbce5ff5a2e3b /src/saveload
parent67c6f945fbfd4cb2c59788eea572a7954e4a2583 (diff)
downloadopenttd-faee0737e05c0eb42461b51807083ebc7078d2f5.tar.xz
Codechange: Separate gamelog revision length from network revision length
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/gamelog_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/gamelog_sl.cpp b/src/saveload/gamelog_sl.cpp
index f818eca13..d1c502d3b 100644
--- a/src/saveload/gamelog_sl.cpp
+++ b/src/saveload/gamelog_sl.cpp
@@ -29,7 +29,7 @@ static const SaveLoad _glog_mode_desc[] = {
};
static const SaveLoad _glog_revision_desc[] = {
- SLE_ARR(LoggedChange, revision.text, SLE_UINT8, NETWORK_REVISION_LENGTH),
+ SLE_ARR(LoggedChange, revision.text, SLE_UINT8, GAMELOG_REVISION_LENGTH),
SLE_VAR(LoggedChange, revision.newgrf, SLE_UINT32),
SLE_VAR(LoggedChange, revision.slver, SLE_UINT16),
SLE_VAR(LoggedChange, revision.modified, SLE_UINT8),