Fixes bug in demo effect due to removed display list set.

This commit is contained in:
Kenix3 2022-07-07 22:17:20 -04:00 committed by GitHub
parent 260669f981
commit 4515fac467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1859,6 +1859,7 @@ void DemoEffect_DrawLightEffect(Actor* thisx, GlobalContext* globalCtx) {
if (this->light.flicker == 0) {
this->light.flicker = 1;
} else {
disp = (uintptr_t)gEffFlash1DL;
alpha = &this->light.alpha;
func_80093D84(globalCtx->state.gfxCtx);
gDPSetPrimColor(POLY_XLU_DISP++, 0, 128, this->primXluColor[0], this->primXluColor[1],