From 03a2bc2121462f23e991ca95f53f487e85ebf652 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 05:59:32 +0000 Subject: [PATCH] Decompile fn_18378 (Resolve) Batch #13808 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_18378 Resolve: logic confirmed by peer review Peer-reviewed-by: Yommy, aDw, Toshiro Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Resource/TextureNames.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Resource/TextureNames.cpp b/Source/Resource/TextureNames.cpp index 590ac14af..17295c308 100644 --- a/Source/Resource/TextureNames.cpp +++ b/Source/Resource/TextureNames.cpp @@ -34,13 +34,12 @@ const char* Resolve(const char* name) { } const std::string original(name); - constexpr char marker[] = "유저인터페이스"; - if (original.find(marker, 0, 14) == std::string::npos) { + if (original.find("유저인터페이스", 0, 14) == std::string::npos) { return name; } - if (g_modeMgr.gameMode && g_skinInfo.Selected()) { + if (g_modeMgr.gameMode && g_skinInfo.Selected() == true) { const std::string prefix(g_skinInfo.Prefix()); // STATIC: 0x016D58CC // GLOBAL: gl_24385