summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-23 09:52:26 +0000
committersmatz <smatz@openttd.org>2009-06-23 09:52:26 +0000
commita50ba1b8c1afc164cf14750d9c1a89dfec9dd25a (patch)
treeb5ac362a349f29b8ddc25f933433adb792827ad6 /src/saveload
parent5ef0745254f8fe94f608ac5e1f31c8bb47f1a336 (diff)
downloadopenttd-a50ba1b8c1afc164cf14750d9c1a89dfec9dd25a.tar.xz
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/oldloader_sl.cpp2
-rw-r--r--src/saveload/town_sl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index c2c2d8ccf..c89e9ab5c 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -527,7 +527,7 @@ static const OldChunks town_chunk[] = {
OCL_NULL( 1 ), ///< sort_index, no longer in use
OCL_NULL( 4 ), ///< sign-coordinates, no longer in use
OCL_NULL( 2 ), ///< namewidth, no longer in use
- OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, Town, flags12 ),
+ OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, Town, flags ),
OCL_NULL( 10 ), ///< radius, no longer in use
OCL_SVAR( OC_INT16, Town, ratings[0] ),
diff --git a/src/saveload/town_sl.cpp b/src/saveload/town_sl.cpp
index d249840e0..1c621aab6 100644
--- a/src/saveload/town_sl.cpp
+++ b/src/saveload/town_sl.cpp
@@ -70,7 +70,7 @@ static const SaveLoad _town_desc[] = {
SLE_VAR(Town, townnameparts, SLE_UINT32),
SLE_CONDSTR(Town, name, SLE_STR, 0, 84, SL_MAX_VERSION),
- SLE_VAR(Town, flags12, SLE_UINT8),
+ SLE_VAR(Town, flags, SLE_UINT8),
SLE_CONDVAR(Town, statues, SLE_FILE_U8 | SLE_VAR_U16, 0, 103),
SLE_CONDVAR(Town, statues, SLE_UINT16, 104, SL_MAX_VERSION),