Decompile fn_21654 (CGameMode::ReceiveBroadcastText)

Batch #15315 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_21654 CGameMode::ReceiveBroadcastText: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, kyoshi
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-09 20:57:28 +00:00
commit 39cc85f608

View file

@ -7830,7 +7830,7 @@ void CGameMode::ReceiveBroadcastText(const unsigned char* data) {
std::vector<char> text(length + 1, 0);
memcpy_s(text.data(), text.size(), data + 4, length);
if (g_forbiddenWords.Contains(text.data()) == true) {
std::string masked;
std::string masked("");
g_forbiddenWords.Mask(text.data(), &masked);
}
if (!g_serviceOptions.Get(0x94)) {