diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-06-17 08:54:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-17 08:54:18 -0400 |
| commit | 3098abd4f6f9249131b79a0213e440bfa243662d (patch) | |
| tree | 135094a9376b5c65beb0d0e80e15e23fcb3ff8a3 /src/code/z_effect.c | |
| parent | 52d36d7373f94ce5f4b14d9461b5fedc65601888 (diff) | |
Add current missing functions prototypes (#181)
* First bash
* Another batch
* Another bunch
* Update actorfixer
* run format
* Apply suggestions from code review
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Suggestion
* context renaming
* Update include/functions.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* Fix renamings
* fix
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_effect.c')
| -rw-r--r-- | src/code/z_effect.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/code/z_effect.c b/src/code/z_effect.c index 8f8b99efe..be1225bb9 100644 --- a/src/code/z_effect.c +++ b/src/code/z_effect.c @@ -187,7 +187,7 @@ void Effect_Add(GlobalContext* globalCtx, s32* index, s32 type, u8 param_4, u8 p void Effect_DrawAll(GraphicsContext* gfxCtx) { s32 i; - for (i = 0; i < SPARK_COUNT; i++) { + for (i = 0; i < SPARK_COUNT; i++) { if (1) {} // necessary to match if (sEffTable.sparks[i].base.active) { sEffInfoTable[0].draw(&sEffTable.sparks[i].params, gfxCtx); @@ -195,8 +195,10 @@ void Effect_DrawAll(GraphicsContext* gfxCtx) { } for (i = 0; i < BLURE_COUNT; i++) { - if (1) { if (gfxCtx) {} } // necessary to match - if (sEffTable.blures[i].base.active) { + if (1) { + if (gfxCtx) {} + } // necessary to match + if (sEffTable.blures[i].base.active) { sEffInfoTable[1].draw(&sEffTable.blures[i].params, gfxCtx); } } |
