From c09e094b80fb182a74c79464a4d4dee5ebdcc2ca Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 13:03:38 +0000 Subject: [PATCH] Decompile fn_19221 (CStormKickEffect::Close) Batch #12293 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_19221 CStormKickEffect::Close: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Contents/Effects/StormKickEffect.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Contents/Effects/StormKickEffect.cpp b/Source/Contents/Effects/StormKickEffect.cpp index d96becad..67af6f08 100644 --- a/Source/Contents/Effects/StormKickEffect.cpp +++ b/Source/Contents/Effects/StormKickEffect.cpp @@ -170,13 +170,13 @@ void CStormKickEffect::UpdateStorm(CParticle* particle) { // OFFSET: 0x00B7BC20 // FUNCTION: fn_19221 void CStormKickEffect::Close() { - for (CParticle* particle : this->storms) { - FreeParticle(particle); + for (auto it = this->storms.begin(); it != this->storms.end(); ++it) { + FreeParticle(*it); } this->storms.clear(); - for (CParticle* particle : this->clouds) { - FreeParticle(particle); + for (auto it = this->clouds.begin(); it != this->clouds.end(); ++it) { + FreeParticle(*it); } this->clouds.clear(); }