diff --git a/Source/UI/Login/UIWaitDBSaveWnd.cpp b/Source/UI/Login/UIWaitDBSaveWnd.cpp index 04653c1d7..9893d7535 100644 --- a/Source/UI/Login/UIWaitDBSaveWnd.cpp +++ b/Source/UI/Login/UIWaitDBSaveWnd.cpp @@ -2,6 +2,7 @@ #include "UI/Window/WindowId.h" #include "Utility/Cipher/LocalEncryptedName.h" #include "Utility/Cipher/CryptName.h" +#include "Utility/Cipher/Obfuscate.h" #include "Render/Textures/SpritePixels.h" #include "Resource/Bitmap/BitmapResource.h" @@ -79,10 +80,7 @@ void UIWaitDBSaveWnd::Paint() { this->ClearSurface(0xFFFF00FF); ResourceMgr& resources = ResourceMgr::Instance(); - constexpr auto backgroundSourceText = CRYPT_NAME("유저인터페이스\\WaitDBSave\\loading.bmp", 0x9B5B959B954D9333ULL); - const auto& backgroundSource = backgroundSourceText.data; - thread_local EncryptedName backgroundName(backgroundSource); - CBitmapRes* background = static_cast(resources.Load(Resolve(backgroundName.Text()))); + CBitmapRes* background = static_cast(resources.Load(Resolve(OBFUSCATE_TEXT_NAMED("유저인터페이스\\WaitDBSave\\loading.bmp", 0x9B5B959B954D9333ULL, backgroundName)))); if (background) { this->DrawBitmap( static_cast((this->geometry.width - background->image.width) * 0.5), static_cast((this->geometry.height - background->image.height) * 0.5),