From 3e7a902f5be36a2bfb2dbadaab9e0d274cd6d0e0 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Sat, 7 Nov 2026 00:14:26 +0000 Subject: [PATCH] Decompile fn_18845 (CParticle::SetRenderFlag) Batch #13895 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_18845 CParticle::SetRenderFlag: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/Particle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Particle.cpp b/Source/Contents/Effects/Particle.cpp index f3bd8425f..8373957cd 100644 --- a/Source/Contents/Effects/Particle.cpp +++ b/Source/Contents/Effects/Particle.cpp @@ -935,7 +935,7 @@ void CParticle::SetTexture(std::string name) { // OFFSET: 0x00B40200 // FUNCTION: fn_18845 void CParticle::SetRenderFlag(unsigned char value) { - this->primitive.unknown_0014 = (this->primitive.unknown_0014 & 0xFF00u) | value; + *reinterpret_cast(&this->primitive.unknown_0014) = value; } // OFFSET: 0x00B40210