Decompile fn_22188 (CGameMode::ReceiveWindow308TextEntries)
Batch #12524 by Toshiro: 0 byte-identical, 1 confirmed by peer review. - fn_22188 CGameMode::ReceiveWindow308TextEntries: logic confirmed by peer review Peer-reviewed-by: Yommy, gordaoprogramas Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
e5d4b3b94c
commit
ebbda1f823
1 changed files with 4 additions and 1 deletions
|
|
@ -2693,7 +2693,10 @@ __declspec(noinline) void CGameMode::ReceiveWindow308TextEntries(unsigned char*
|
|||
char* text = reinterpret_cast<char*>(packet + 4);
|
||||
for (int i = 0; i < count; ++i, text += 16) {
|
||||
text[15] = '\0';
|
||||
if (std::strlen(text) != 0) {
|
||||
char* end = text;
|
||||
do {
|
||||
} while (*end++ != '\0');
|
||||
if (*text != '\0') {
|
||||
window->SendMsg(nullptr, 0x22, reinterpret_cast<std::intptr_t>(text), 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue