diff --git a/src/game/gunfx.c b/src/game/gunfx.c index 40087b4a6..4c8713385 100644 --- a/src/game/gunfx.c +++ b/src/game/gunfx.c @@ -1064,19 +1064,6 @@ Gfx *lasersightRenderDot(Gfx *gdl) u32 spb = 24; u32 spi = 6; - gDPSetCycleType(gdl++, G_CYC_1CYCLE); - gDPSetTextureFilter(gdl++, G_TF_BILERP); - gDPSetTexturePersp(gdl++, G_TP_PERSP); - gDPSetColorDither(gdl++, G_CD_DISABLE); - gDPSetRenderMode(gdl++, G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2); - gDPSetAlphaCompare(gdl++, G_AC_NONE); - gDPSetTextureLOD(gdl++, G_TL_TILE); - gDPSetTextureConvert(gdl++, G_TC_FILT); - gDPSetTextureLUT(gdl++, G_TT_NONE); - gDPSetCombineMode(gdl++, G_CC_BLENDIA, G_CC_BLENDIA); - - if (f20); - mtx4LoadIdentity(&sp164); mtx00015be0(camGetWorldToScreenMtxf(), &sp164); mtx4LoadIdentity(&sp124); diff --git a/src/game/player.c b/src/game/player.c index 7c300e3e4..642b74191 100644 --- a/src/game/player.c +++ b/src/game/player.c @@ -4105,6 +4105,17 @@ Gfx *playerRenderHud(Gfx *gdl) gdl = boltbeamsRender(gdl); bgunRender(&gdl); + gDPSetCycleType(gdl++, G_CYC_1CYCLE); + gDPSetTextureFilter(gdl++, G_TF_BILERP); + gDPSetTexturePersp(gdl++, G_TP_PERSP); + gDPSetColorDither(gdl++, G_CD_DISABLE); + gDPSetRenderMode(gdl++, G_RM_AA_ZB_XLU_SURF, G_RM_AA_ZB_XLU_SURF2); + gDPSetAlphaCompare(gdl++, G_AC_NONE); + gDPSetTextureLOD(gdl++, G_TL_TILE); + gDPSetTextureConvert(gdl++, G_TC_FILT); + gDPSetTextureLUT(gdl++, G_TT_NONE); + gDPSetCombineMode(gdl++, G_CC_BLENDIA, G_CC_BLENDIA); + if (g_LasersightsActive) { gdl = lasersightRenderDot(gdl); }