diff options
author | Patric Stout <truebrain@openttd.org> | 2021-04-20 16:51:15 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-04-20 17:24:38 +0200 |
commit | 05612d60ae0af94b9313d5a8b78ebf58a3eeab66 (patch) | |
tree | 6f84698665d5931520d41ef23117e4013c575e10 /src/network/core/game.h | |
parent | f4bd3fff5ebfdd7c58ccaf23977b8447c740b48a (diff) | |
download | openttd-05612d60ae0af94b9313d5a8b78ebf58a3eeab66.tar.xz |
Remove: "language" field from server/client
The original idea was that people could find a server they could
talk in their native language on. This isn't really used in that
way. There are several reasons for removing this:
- the client also sends his "language" to the server, but nothing
is doing anything with this.
- flags are a bad way to represent languages, and over the years
we had several (rightfully) complaints about this.
- most servers have their language set to "All", and prefix the
servername with the language it is about. This is a much more
efficient way to do the same.
All in all, this feature should go back to the drawing board.
Maybe it could work in another form, but this form is not it.
Diffstat (limited to 'src/network/core/game.h')
-rw-r--r-- | src/network/core/game.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/core/game.h b/src/network/core/game.h index 0a10cfb1f..29eca418f 100644 --- a/src/network/core/game.h +++ b/src/network/core/game.h @@ -42,7 +42,6 @@ struct NetworkGameInfo : NetworkServerGameInfo { bool compatible; ///< Can we connect to this server or not? (based on server_revision _and_ grf_match bool use_password; ///< Is this server passworded? byte game_info_version; ///< Version of the game info - byte server_lang; ///< Language of the server (we should make a nice table for this) byte clients_max; ///< Max clients allowed on server byte companies_on; ///< How many started companies do we have byte companies_max; ///< Max companies allowed on server |