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.
This commit is contained in:
ragnarok-clanker 2026-11-11 14:21:02 +00:00
commit dc96323aa1

View file

@ -299,8 +299,7 @@ void UIMiniMapWnd::UpdatePlayerHead() {
this->m_playerHead->SetSprite(sprite.c_str());
CSprRes* resource = dynamic_cast<CSprRes*>(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);