mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 17:54:50 +01:00
Close #12421: Refactor NETWORK_AUTH to use strong enum
Replacing enum NETWORK_AUTH with enum class NetworkAuth.
This commit is contained in:
@@ -42,7 +42,7 @@ static void chat_clear_input();
|
||||
bool chat_available()
|
||||
{
|
||||
return network_get_mode() != NETWORK_MODE_NONE && network_get_status() == NETWORK_STATUS_CONNECTED
|
||||
&& network_get_authstatus() == NETWORK_AUTH_OK;
|
||||
&& network_get_authstatus() == NetworkAuth::Ok;
|
||||
}
|
||||
|
||||
void chat_open()
|
||||
|
||||
Reference in New Issue
Block a user