1
0
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:
ju-pinheiro
2020-09-04 15:40:12 -03:00
parent 20a8bbc322
commit 214620951f
9 changed files with 56 additions and 56 deletions

View File

@@ -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()