From dc96323aa16765ce3871c36da1ed4cf5ed0a995d Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 14:21:02 +0000 Subject: [PATCH] Decompile fn_13564 (UIMiniMapWnd::UpdatePlayerHead) Batch #17170 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_13564 UIMiniMapWnd::UpdatePlayerHead: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Dialogs/UIEditctrlWnd.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/UI/Dialogs/UIEditctrlWnd.cpp b/Source/UI/Dialogs/UIEditctrlWnd.cpp index 123e7923c..a80e44c5b 100644 --- a/Source/UI/Dialogs/UIEditctrlWnd.cpp +++ b/Source/UI/Dialogs/UIEditctrlWnd.cpp @@ -299,8 +299,7 @@ void UIMiniMapWnd::UpdatePlayerHead() { this->m_playerHead->SetSprite(sprite.c_str()); CSprRes* resource = dynamic_cast(ResourceMgr::Instance().Load(sprite.c_str())); if (resource) { - const SpriteRleImage* image = resource->images[0][0]; - this->m_playerHead->SetSize(image->width, image->height); + this->m_playerHead->SetSize(resource->images[0][0]->width, resource->images[0][0]->height); } else { this->m_playerHead->SetSize(2, 2); this->m_playerHead->Move(-100, -100);