Decompile fn_07069 (CMultiTexParticle::Render)

Batch #18259 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_07069 CMultiTexParticle::Render: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, cremane, bibinir
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-12 14:11:38 +00:00
commit 15e9dbb5d1

View file

@ -86,14 +86,14 @@ void CMultiTexParticle::AllocateVertices(int count) {
// OFFSET: 0x007080F0
// FUNCTION: fn_07069
void CMultiTexParticle::Render(int column, int row) {
CGameMode* gameMode = static_cast<CGameMode*>(g_modeMgr.GetGameMode());
if (!gameMode->scene->ground) {
GroundGeometry* ground = static_cast<CGameMode*>(g_modeMgr.GetGameMode())->scene->ground;
if (!ground) {
return;
}
EffectPoint corners[4];
if (!gameMode->scene->ground->TerrainCellCorners(column, row, &corners[0].x)) {
if (!ground->TerrainCellCorners(column, row, &corners[0].x)) {
return;
}