Add a constant for SERVER_GAME_INFO_EXTENDED max version

Set max version correctly in QueryNetworkGameSocketHandler::SendGameInfo
This commit is contained in:
Jonathan G Rennison
2021-11-02 22:49:26 +00:00
parent 3cff5e53e4
commit eaf5908a0b
3 changed files with 9 additions and 4 deletions

View File

@@ -96,4 +96,9 @@ static const uint NETWORK_GRF_NAME_LENGTH = 80; ///< Maxim
*/
static const uint NETWORK_MAX_GRF_COUNT = 255;
/**
* Maximum version supported in PACKET_SERVER_GAME_INFO_EXTENDED
*/
static const uint8 SERVER_GAME_INFO_EXTENDED_MAX_VERSION = 1;
#endif /* NETWORK_CORE_CONFIG_H */