diff options
author | rubidium <rubidium@openttd.org> | 2007-01-22 21:38:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-22 21:38:16 +0000 |
commit | 3e10a726e5dc4d404c345d315e7cc842f0a89aae (patch) | |
tree | e33e67b3ace7674df99e3280245f93ee27408126 /src/network/core/game.h | |
parent | 5f72bb18caff46471382d84ad54c5ddae631f83b (diff) | |
download | openttd-3e10a726e5dc4d404c345d315e7cc842f0a89aae.tar.xz |
(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
-Codechange: use_password is a boolean variable
-Codechange: move range checking for server_lang and map_set to Recv_NetworkGameInfo
Diffstat (limited to 'src/network/core/game.h')
-rw-r--r-- | src/network/core/game.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/game.h b/src/network/core/game.h index 2c0a0178b..6c96527fb 100644 --- a/src/network/core/game.h +++ b/src/network/core/game.h @@ -27,7 +27,7 @@ typedef struct NetworkGameInfo { bool version_compatible; ///< Can we connect to this server or not? (based on server_revision) bool compatible; ///< Can we connect to this server or not? (based on server_revision _and_ grf_match byte server_lang; ///< Language of the server (we should make a nice table for this) - byte use_password; ///< Is set to != 0 if it uses a password + bool use_password; ///< Is this server passworded? char server_password[NETWORK_PASSWORD_LENGTH]; ///< On the server: the game password, on the client: != "" if server has password byte clients_max; ///< Max clients allowed on server byte clients_on; ///< Current count of clients on server |