From 0f129db49831dc017768c4e902a283dc1a2d3e59 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 08:26:48 +0000 Subject: [PATCH] Decompile fn_10399 (UISwapEquipmentWnd::Slot28) Batch #14091 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_10399 UISwapEquipmentWnd::Slot28: logic confirmed by peer review Peer-reviewed-by: secret, KWDev, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Items/UISwapEquipmentWnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Items/UISwapEquipmentWnd.cpp b/Source/UI/Items/UISwapEquipmentWnd.cpp index a0e17b8bb..370e1d8c4 100644 --- a/Source/UI/Items/UISwapEquipmentWnd.cpp +++ b/Source/UI/Items/UISwapEquipmentWnd.cpp @@ -445,7 +445,7 @@ void UISwapEquipmentWnd::Slot28(int x, int y) { } else if (item.unknown_0098 != 0) { text = static_cast(FormatOwnedString(LookupMessage(0xA28), item.DisplayName(0).c_str(), item.unknown_0098)); } else { - text = item.DisplayName(0); + text = static_cast(item.DisplayName(0)); } g_modeMgr.GetGameMode()->ShowTooltip(text.c_str(), tooltipX, tooltipY, g_session.GetItemNameColor(item), 0, 1);