mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Fix #14330: join_server uses config default_port
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files.
|
- Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files.
|
||||||
- Fix: [#13894] Block brakes do not animate.
|
- Fix: [#13894] Block brakes do not animate.
|
||||||
- Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean.
|
- Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean.
|
||||||
|
- Fix: [#14330] join_server uses default_port from config.
|
||||||
|
|
||||||
0.3.3 (2021-03-13)
|
0.3.3 (2021-03-13)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ static void server_list_get_item_button(int32_t buttonIndex, int32_t x, int32_t
|
|||||||
|
|
||||||
static void join_server(std::string address)
|
static void join_server(std::string address)
|
||||||
{
|
{
|
||||||
int32_t port = gConfigNetwork.default_port;
|
int32_t port = NETWORK_DEFAULT_PORT;
|
||||||
auto beginBracketIndex = address.find('[');
|
auto beginBracketIndex = address.find('[');
|
||||||
auto endBracketIndex = address.find(']');
|
auto endBracketIndex = address.find(']');
|
||||||
auto dotIndex = address.find('.');
|
auto dotIndex = address.find('.');
|
||||||
|
|||||||
Reference in New Issue
Block a user