Decompile fn_23378 (CSession::GetPlayerHeadSprName)
Batch #3745 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_23378 CSession::GetPlayerHeadSprName: logic confirmed by peer review Peer-reviewed-by: eAthena, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
27139bcc6e
commit
1f664e3a48
1 changed files with 7 additions and 0 deletions
|
|
@ -306,3 +306,10 @@ std::string CSession::GetHeadSprName(int job, int sex, int* head) {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00DDD050
|
||||
// FUNCTION: fn_23378
|
||||
std::string CSession::GetPlayerHeadSprName() {
|
||||
EquipmentResourceMgr* resources = g_equipmentResourceMgr;
|
||||
const int sex = this->SyncUnknown0E98();
|
||||
const int job = this->GetDisplayJob();
|
||||
return resources->GetHeadName(1, job, sex, &this->m_head);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue