Decompile fn_06853 (CAMachineEffect::Slot03)

Batch #13154 by cremane: 0 byte-identical, 1 confirmed by peer review.

- fn_06853 CAMachineEffect::Slot03: logic confirmed by peer review

Peer-reviewed-by: gordaoprogramas, codeplay, StrawberrysherbetIX
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-06 08:10:26 +00:00
commit 54f82e1ca2

View file

@ -51,7 +51,8 @@ void CAMachineEffect::Close() {
// OFFSET: 0x006F6DB0
// FUNCTION: fn_06853
void CAMachineEffect::Slot03() {
std::map<int, CEZ2STRParticle*>::iterator it = this->unknown_00CC.find(this->unknown_00D4);
const int key = this->unknown_00D4;
std::map<int, CEZ2STRParticle*>::iterator it = this->unknown_00CC.find(key);
if (it == this->unknown_00CC.end()) {
return;
}