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
This commit is contained in:
Archez
2024-05-05 08:16:15 -04:00
committed by GitHub
parent d0bdbd6f53
commit 7a26cca36d
3 changed files with 7 additions and 5 deletions
+2
View File
@@ -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;
}