From 7a26cca36d87d228909c9ecda0dc3403f2b150df Mon Sep 17 00:00:00 2001 From: Archez Date: Sun, 5 May 2024 08:16:15 -0400 Subject: CLOSE_DISPS fixes and avoid early return (#1621) * fix en_osn close_disps position * rework en_mnk draw face to avoid returns * use goto in effect draw to avoid returns * feedback --- src/code/z_eff_blure.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/code') diff --git a/src/code/z_eff_blure.c b/src/code/z_eff_blure.c index de9932df8..6ac53632f 100644 --- a/src/code/z_eff_blure.c +++ b/src/code/z_eff_blure.c @@ -658,6 +658,7 @@ void EffectBlure_DrawSmooth(EffectBlure* this2, GraphicsContext* gfxCtx) { OPEN_DISPS(gfxCtx); if (this->numElements < 2) { + //! @bug Skips CLOSE_DISPS return; } @@ -678,6 +679,7 @@ void EffectBlure_DrawSmooth(EffectBlure* this2, GraphicsContext* gfxCtx) { mtx = SkinMatrix_MtxFToNewMtx(gfxCtx, &sp5C); if (mtx == NULL) { + //! @bug Skips CLOSE_DISPS return; } -- cgit v1.2.3