Decompile fn_24158 (CSession::GetBodyStyle)
Batch #16958 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_24158 CSession::GetBodyStyle: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, br4yan 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
beb24e8c4e
commit
66462bb4e9
1 changed files with 1 additions and 1 deletions
|
|
@ -1908,7 +1908,7 @@ bool CSession::IsPartyRecommendTarget(std::uint32_t aid) {
|
|||
// OFFSET: 0x00E2F710
|
||||
// FUNCTION: fn_24158
|
||||
int CSession::GetBodyStyle(int job, int style, int renderJob) {
|
||||
if (style >= 2 || static_cast<unsigned>(renderJob - JT_RUNE_KNIGHT_2ND) < JT_SECOND_JOB_END - JT_RUNE_KNIGHT_2ND) {
|
||||
if (style >= 2 || static_cast<unsigned>(renderJob - JT_RUNE_KNIGHT_2ND) <= JT_SECOND_JOB_END - JT_RUNE_KNIGHT_2ND - 1) {
|
||||
return style;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue