summaryrefslogtreecommitdiff
path: root/src/code/z_effect.c
diff options
context:
space:
mode:
authorEllipticEllipsis <73679967+EllipticEllipsis@users.noreply.github.com>2022-03-05 14:57:28 +0000
committerGitHub <noreply@github.com>2022-03-05 11:57:28 -0300
commit7fcefd8d3fa60a13c1229bf4a1bdc5f2c59f0d75 (patch)
treee6d62de9f42d5f8c6eb2606c009a95de2af40cc3 /src/code/z_effect.c
parent6017869b1e2f369fa2c27a17a5e1b8f29b4aaf41 (diff)
Decompile and partially document some functions in z_play (#582)
* Decomp 10 functions in z_play, start documentation * Add numbers to enums in z_en_torch2.h * Decompile a 5 more functions (56 unattempted) * Add more details, name some more variables * Bit more Doxygen * Format * Fix arguments * Add symbols to actorfixer.py * Merge branch 'master' into play * Fix z_actor * Review * Deduplicate CycleSceneFlags * Fix warning * Fix unk4 * Review
Diffstat (limited to 'src/code/z_effect.c')
-rw-r--r--src/code/z_effect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_effect.c b/src/code/z_effect.c
index dd696393f..4c446b650 100644
--- a/src/code/z_effect.c
+++ b/src/code/z_effect.c
@@ -124,7 +124,7 @@ void Effect_Add(GlobalContext* globalCtx, s32* pIndex, s32 type, u8 arg3, u8 arg
*pIndex = TOTAL_EFFECT_COUNT;
- if (FrameAdvance_IsEnabled(globalCtx) != true) {
+ if (FrameAdvance_IsEnabled(&globalCtx->state) != true) {
slotFound = false;
switch (type) {
case EFFECT_SPARK: