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