summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-27 21:25:52 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-13 23:13:17 +0200
commit02fdb5b210ede022cb921e869cdb34758ee5299e (patch)
treeb9487874886a7f86d56a489f02c37cb78db6df15 /src/table
parentcc6c078dec3792173b5d2057667bec9597c71d90 (diff)
downloadopenttd-02fdb5b210ede022cb921e869cdb34758ee5299e.tar.xz
Codechange: move server name/id in settings to std::string
Diffstat (limited to 'src/table')
-rw-r--r--src/table/settings.ini10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 6dbff01db..0a439edaa 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -3961,9 +3961,10 @@ length = NETWORK_PASSWORD_LENGTH
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = nullptr
-[SDTC_STR]
+[SDTC_SSTR]
var = network.server_name
-type = SLE_STRB
+type = SLE_STR
+length = NETWORK_NAME_LENGTH
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
guiflags = SGF_NETWORK_ONLY
def = nullptr
@@ -3977,9 +3978,10 @@ length = 0
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
def = nullptr
-[SDTC_STR]
+[SDTC_SSTR]
var = network.network_id
-type = SLE_STRB
+type = SLE_STR
+length = NETWORK_SERVER_ID_LENGTH
flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
guiflags = SGF_NETWORK_ONLY
def = nullptr