diff --git a/include/yojimbo_constants.h b/include/yojimbo_constants.h index 1ff45a1e..e0c2bd9d 100644 --- a/include/yojimbo_constants.h +++ b/include/yojimbo_constants.h @@ -31,7 +31,7 @@ namespace yojimbo { const int MaxClients = 64; ///< The maximum number of clients supported by this library. You can increase this if you want, but this library is designed around patterns that work best for [2,64] player games. If your game has less than 64 clients, reducing this will save memory. - const int MaxChannels = 2; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory. Minimum is 2. + const int MaxChannels = 64; ///< The maximum number of message channels supported by this library. If you need less than 64 channels per-packet, reducing this will save memory. Minimum is 2. const int KeyBytes = 32; ///< Size of encryption key for dedicated client/server in bytes. Must be equal to key size for libsodium encryption primitive. Do not change. diff --git a/netcode/netcode.c b/netcode/netcode.c index 59a1b518..ac7963d8 100755 --- a/netcode/netcode.c +++ b/netcode/netcode.c @@ -2841,7 +2841,7 @@ void netcode_client_connect( struct netcode_client_t * client, uint8_t * connect if ( client->connect_token.num_server_addresses == 1 ) { netcode_printf( NETCODE_LOG_LEVEL_INFO, "client connecting to server %s\n", - netcode_address_to_string( &client->server_address, server_address_string ), client->server_address_index + 1, client->connect_token.num_server_addresses ); + netcode_address_to_string( &client->server_address, server_address_string ) ); } else { diff --git a/premake5.lua b/premake5.lua index e9d2640b..04255ccd 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1,6 +1,4 @@ -yojimbo_version = "1.0" - solution "Yojimbo" kind "ConsoleApp" language "C++"