Decompile fn_10103 (CCharacterRender::OffsetLayerDepth)

Batch #12862 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_10103 CCharacterRender::OffsetLayerDepth: logic confirmed by peer review

Peer-reviewed-by: Yommy, Tanke, 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:
ragnarok-clanker 2026-11-06 02:03:07 +00:00
commit 30cae4ab9f

View file

@ -33,8 +33,8 @@ void CCharacterRender::OffsetLayerDepth(int layer, SpriteCellQuad& quad, float b
break;
case 4:
if (g_cameraDistance < robeTopLayerThreshold) {
bottomDepth += 0.00003f;
topDepth += 0.00003f;
bottomDepth += 0.00003f;
}
quad.bottomDepth = bottomDepth;
quad.topDepth = topDepth;