1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-27 11:34:29 +00:00

remove unnecessary block braces

https://github.com/zeldaret/oot/pull/2295#discussion_r1841154818
This commit is contained in:
feacur 2024-11-14 00:11:25 +01:00
parent 57c4c7653f
commit a8dff36326
2 changed files with 14 additions and 18 deletions

View file

@ -1168,7 +1168,6 @@ void EnGo_Draw(Actor* thisx, PlayState* play) {
}
// draw skeleton normally
{
Gfx_SetupDL_37Opa(play->state.gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(gGoronCsEyeOpenTex));
@ -1178,7 +1177,6 @@ void EnGo_Draw(Actor* thisx, PlayState* play) {
EnGo_OverrideLimbDraw, EnGo_PostLimbDraw, &this->actor);
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go.c", 2525);
EnGo_DrawEffects(this, play);
}
}
void EnGo_SpawnEffectDust(EnGo* this, Vec3f* pos, Vec3f* velocity, Vec3f* accel, u8 initialTimer, f32 scale,

View file

@ -2132,7 +2132,6 @@ void EnGo2_Draw(Actor* thisx, PlayState* play) {
}
// draw skeleton normally
{
OPEN_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3063);
Gfx_SetupDL_25Opa(play->state.gfxCtx);
@ -2142,5 +2141,4 @@ void EnGo2_Draw(Actor* thisx, PlayState* play) {
SkelAnime_DrawFlexOpa(play, this->skelAnime.skeleton, this->skelAnime.jointTable, this->skelAnime.dListCount,
EnGo2_OverrideLimbDraw, EnGo2_PostLimbDraw, this);
CLOSE_DISPS(play->state.gfxCtx, "../z_en_go2.c", 3081);
}
}