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:
parent
fc5f2516e7
commit
ec0dc52bf8
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue