Decompile fn_22576 (SpriteRidingOffset)
Batch #13362 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review. - fn_22576 SpriteRidingOffset: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy, aDw, codeplay 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
1bac0f0e72
commit
de7ba031af
1 changed files with 3 additions and 2 deletions
|
|
@ -17,8 +17,9 @@ int SpriteRidingOffset(const ActionFrame* frame, unsigned animation, unsigned mo
|
|||
return 0;
|
||||
}
|
||||
|
||||
const std::string name = GetBodyActionResourceName(JobNames::BaseJob(job), sex, costumeJob, 0);
|
||||
CActRes* action = static_cast<CActRes*>(ResourceMgr::Instance().Load(name));
|
||||
std::string name = GetBodyActionResourceName(JobNames::BaseJob(job), sex, costumeJob, 0);
|
||||
std::string resourceName(name);
|
||||
CActRes* action = static_cast<CActRes*>(ResourceMgr::Instance().Load(resourceName));
|
||||
if (!action) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue