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:
parent
619000e306
commit
dc96323aa1
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue