summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:58:09 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:58:09 -0400
commit2bc863fa42f87d54fced1dabf5c7dbe39beb121c (patch)
treed44626813d9b413989e3b86583e65c7263193cef /include
parent088a31ea1940babe3d65c9d56b61f8e574a88358 (diff)
TMainTask: Correct typo in if condition of `X_OR_Y_CHILD`
Diffstat (limited to 'include')
-rw-r--r--include/pso/TMainTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 62f3ef5..d90216c 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -11,7 +11,7 @@
TMainTask *child; \
u32 bit = 1; \
FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.down, child, bit <<= 1) { \
- if (main_task_flags & bit) { \
+ if (flags & bit) { \
child->one_prefix##_##suffix(); \
} else { \
child->zero_prefix##_##suffix(); \