Decompile fn_10475 (UIItemImage::Slot28)
Batch #11056 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_10475 UIItemImage::Slot28: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev, cremane 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
624364cb82
commit
81726a5d6e
1 changed files with 2 additions and 2 deletions
|
|
@ -1662,8 +1662,8 @@ void UIItemImage::Slot28(int, int) {
|
|||
int y = -17;
|
||||
this->ToScreen(x, y);
|
||||
|
||||
if (g_charViewMode) {
|
||||
CMode* tooltip = static_cast<CMode*>(g_charViewMode);
|
||||
if (g_modeMgr.gameMode) {
|
||||
CMode* tooltip = g_modeMgr.gameMode;
|
||||
const std::uint32_t color = g_session.GetItemNameColor(item);
|
||||
tooltip->ShowTooltip(item.DisplayName(0).c_str(), x, y, color, 0, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue