1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 17:32:45 +01:00

Codechange: Use parameterised GetString for NetworkTextMessage

This commit is contained in:
Rubidium
2025-03-01 11:45:16 +01:00
committed by rubidium42
parent 6d2f17b92f
commit 8886503ba9
5 changed files with 29 additions and 31 deletions

View File

@@ -1004,7 +1004,7 @@ NetworkRecvStatus ClientNetworkGameSocketHandler::Receive_SERVER_EXTERNAL_CHAT(P
if (!IsValidConsoleColour(colour)) return NETWORK_RECV_STATUS_MALFORMED_PACKET;
NetworkTextMessage(NETWORK_ACTION_EXTERNAL_CHAT, colour, false, user, msg, 0, source);
NetworkTextMessage(NETWORK_ACTION_EXTERNAL_CHAT, colour, false, user, msg, source);
return NETWORK_RECV_STATUS_OKAY;
}