Decompile fn_06892 (CAnimatedEmitterEffect::UpdateParticle)

Batch #16331 by youko: 0 byte-identical, 1 confirmed by peer review.

- fn_06892 CAnimatedEmitterEffect::UpdateParticle: logic confirmed by peer review

Peer-reviewed-by: Yommy, Toshiro, bgamez23
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-10 17:52:04 +00:00
commit ec0dc52bf8

View file

@ -46,6 +46,7 @@ void CAnimatedEmitterEffect::InitParticle(CParticle* particle) {
// OFFSET: 0x006FA800
// FUNCTION: fn_06892
void CAnimatedEmitterEffect::UpdateParticle(CParticle* particle) {
particle->SetTexture(this->frames[static_cast<int>(particle->animationParameter)][particle->elapsedFrames / 8 % 5]);
int kind = static_cast<int>(particle->animationParameter);
particle->SetTexture(this->frames[kind][particle->elapsedFrames / 8 % 5]);
CEmitterEffect::UpdateParticle(particle);
}