Decompile fn_11300 (UIChatHisBox::ResolvePlayerTags)

Batch #13925 by Toshiro: 0 byte-identical, 1 confirmed by peer review.

- fn_11300 UIChatHisBox::ResolvePlayerTags: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
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-07 01:01:17 +00:00
commit 9be7dd749c

View file

@ -50,8 +50,7 @@ std::string UIChatHisBox::ResolvePlayerTags(const char* name) {
const std::string bracket = this->BracketName(reinterpret_cast<const ITEM_INFO&>(row[index]->unknown_00F8).DisplayName(0));
row[index]->SetTooltip(bracket.c_str());
const std::string text = bracket.c_str();
row[index]->label = text;
row[index]->label = bracket;
row[index]->ResizeToTextClipped(this->TextWidth(bracket.c_str(), 0, 0, 12, 0, 0) + 1, row[index]->geometry.height);
this->lines[line] = result;
}