diff options
author | Patric Stout <truebrain@openttd.org> | 2021-04-29 12:01:54 +0200 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-04-29 20:12:11 +0200 |
commit | a8afbe74bfdbe6aa9ceb88c8e70c63bfe37aeda0 (patch) | |
tree | 1507c5bb9b5fb419ceca1807e16415ea1bd943e1 /src/network/core/game_info.h | |
parent | 0b460bf4a17e12ba479e0822b8f9b7de29ac5816 (diff) | |
download | openttd-a8afbe74bfdbe6aa9ceb88c8e70c63bfe37aeda0.tar.xz |
Cleanup: remove write-only variable "hostname" in NetworkGameList
Diffstat (limited to 'src/network/core/game_info.h')
-rw-r--r-- | src/network/core/game_info.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/core/game_info.h b/src/network/core/game_info.h index 28aea7507..324c6ea4a 100644 --- a/src/network/core/game_info.h +++ b/src/network/core/game_info.h @@ -74,7 +74,6 @@ struct NetworkGameInfo : NetworkServerGameInfo { uint16 map_width; ///< Map width uint16 map_height; ///< Map height char server_name[NETWORK_NAME_LENGTH]; ///< Server name - char hostname[NETWORK_HOSTNAME_LENGTH]; ///< Hostname of the server (if any) char server_revision[NETWORK_REVISION_LENGTH]; ///< The version number the server is using (e.g.: 'r304' or 0.5.0) bool dedicated; ///< Is this a dedicated server? bool version_compatible; ///< Can we connect to this server or not? (based on server_revision) |