diff options
author | rubidium42 <rubidium@openttd.org> | 2021-04-27 21:25:52 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-13 23:13:17 +0200 |
commit | 02fdb5b210ede022cb921e869cdb34758ee5299e (patch) | |
tree | b9487874886a7f86d56a489f02c37cb78db6df15 /src/table | |
parent | cc6c078dec3792173b5d2057667bec9597c71d90 (diff) | |
download | openttd-02fdb5b210ede022cb921e869cdb34758ee5299e.tar.xz |
Codechange: move server name/id in settings to std::string
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 10 |
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 |