Decompile fn_04808 (SpriteLayerRenderer::QueueQuad)

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

- fn_04808 SpriteLayerRenderer::QueueQuad: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, dori
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-05 16:29:06 +00:00
commit e687f3d8da

View file

@ -210,7 +210,7 @@ void SpriteLayerRenderer::QueueQuad(int layer, const SpriteQuad* quad, const std
memcpy_s(&entry.quad, sizeof(entry.quad), quad, sizeof(SpriteQuad));
entry.palette = palette;
entry.blend = blend;
this->quads.emplace(static_cast<int>(this->quads.size()) + 1, entry);
this->quads.emplace(this->quads.size() + 1, entry);
}
}