Codechange: use scope enum and rename DestType to NetworkChatDestinationType

This commit is contained in:
Rubidium
2026-03-02 21:26:50 +01:00
committed by rubidium42
parent c36f9d2d2a
commit 95fbc7abf5
17 changed files with 64 additions and 63 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ bool HasClients()
NetworkClientInfo::~NetworkClientInfo()
{
/* Delete the chat window, if you were chatting with this client. */
InvalidateWindowData(WC_SEND_NETWORK_MSG, DESTTYPE_CLIENT, this->client_id);
InvalidateWindowData(WC_SEND_NETWORK_MSG, NetworkChatDestinationType::Client, this->client_id);
}
/**