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:
parent
9972f1592d
commit
a3c89367fa
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue