From 33d9d291cccc23046101d1f4c07efb3448d66c0e Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 12:19:52 +0000 Subject: [PATCH] Decompile fn_18895 (CGlassWall::Render) Batch #18256 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_18895 CGlassWall::Render: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/Skills/GlassWallEffect.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/Contents/Effects/Skills/GlassWallEffect.cpp b/Source/Contents/Effects/Skills/GlassWallEffect.cpp index d790f1bbe..9cce7d40f 100644 --- a/Source/Contents/Effects/Skills/GlassWallEffect.cpp +++ b/Source/Contents/Effects/Skills/GlassWallEffect.cpp @@ -135,18 +135,20 @@ void CGlassWall::Render() { CParticle* particle = *it; const float width = particle->scale; const float height = particle->animationParameter; + const float top = -height; + const float back = -width; particle->vertices[0].x = 0.0f; - particle->vertices[0].y = -height; + particle->vertices[0].y = top; particle->vertices[0].z = width; particle->vertices[1].x = 0.0f; - particle->vertices[1].y = -height; - particle->vertices[1].z = -width; + particle->vertices[1].y = top; + particle->vertices[1].z = back; particle->vertices[2].x = 0.0f; particle->vertices[2].y = 0.0f; particle->vertices[2].z = width; particle->vertices[3].x = 0.0f; particle->vertices[3].y = 0.0f; - particle->vertices[3].z = -width; + particle->vertices[3].z = back; particle->Render(true, 0.0f, 1.0f, 0.0f, 1.0f, false, true); }