mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-14 11:54:39 +00:00
Add do whiles to all remaining gbi macros (#946)
* Add do whiles to all remaining gbi macros * Cleanup and remove unnecessary do whiles
This commit is contained in:
parent
d874cd08fc
commit
3d57eaf019
22 changed files with 142 additions and 204 deletions
|
@ -166,12 +166,11 @@ void Effect_DrawAll(GraphicsContext* gfxCtx) {
|
|||
}
|
||||
|
||||
for (i = 0; i < BLURE_COUNT; i++) {
|
||||
do {
|
||||
if (1) {} // Necessary to match
|
||||
if (sEffectContext.blures[i].status.active) {
|
||||
sEffectInfoTable[EFFECT_BLURE1].draw(&sEffectContext.blures[i].effect, gfxCtx);
|
||||
}
|
||||
} while (0); // Necessary to match
|
||||
if (sEffectContext.blures[i].status.active) {
|
||||
sEffectInfoTable[EFFECT_BLURE1].draw(&sEffectContext.blures[i].effect, gfxCtx);
|
||||
}
|
||||
if (1) {} // Necessary to match
|
||||
if (1) {}
|
||||
}
|
||||
|
||||
for (i = 0; i < SHIELD_PARTICLE_COUNT; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue