Decompile fn_18943 (CMagnumBreak::Render)

Batch #18132 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_18943 CMagnumBreak::Render: logic confirmed by peer review

Peer-reviewed-by: Yommy, KWDev, bibinir
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-12 09:56:49 +00:00
commit a3c89367fa

View file

@ -154,14 +154,13 @@ void CMagnumBreak::Render() {
ring->vertices[3].x = outerEnd.x;
ring->vertices[3].y = outerEnd.y;
ring->vertices[3].z = outerEnd.z;
const float column = static_cast<float>(ring->columnIndex % 4);
ParticleQuad quad;
quad.billboard = false;
quad.unused = false;
quad.depth = true;
quad.top = 1.0f;
quad.bottom = 0.0f;
quad.left = column * 0.25f;
quad.left = static_cast<float>(ring->columnIndex % 4) * 0.25f;
quad.right = quad.left + 0.25f;
ring->Render(quad);
}