From 19c1ba34c111e56b2cdf6f19a088be5969017fb6 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 05:10:09 +0000 Subject: [PATCH] Decompile fn_18829 (CEZ2STRParticle::Advance) Batch #13099 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_18829 CEZ2STRParticle::Advance: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/Particle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Contents/Effects/Particle.cpp b/Source/Contents/Effects/Particle.cpp index 5a7bafe02..cacd83218 100644 --- a/Source/Contents/Effects/Particle.cpp +++ b/Source/Contents/Effects/Particle.cpp @@ -704,7 +704,8 @@ void CEZ2STRParticle::Advance(float amount) { return; } - for (int count = static_cast(static_cast(this->m_data->maximumFrame) * amount); count > 0; --count) { + const int count = static_cast(static_cast(this->m_data->maximumFrame) * amount); + for (int i = 0; i < count; ++i) { this->Process(0.0f, -80.0f, 0.0f); } }