summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-04-14 12:12:48 -0400
committerGitHub <noreply@github.com>2021-04-14 12:12:48 -0400
commitdf8a62acc4d9d50234c7c069dcafd950704d35fe (patch)
tree45354e3e1f30b9930d496f729d93bc5a0c8e1aaf /include/global.h
parent82f870091e4c75788e30f6227d64818b2f3b045e (diff)
parent98ab546d3a014b8563df859cf37fe619442d9951 (diff)
Merge pull request #1404 from GriffinRichards/doc-animeff1
Label more unused battle anims
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index 18e2bfea7..19605ca57 100644
--- a/include/global.h
+++ b/include/global.h
@@ -107,7 +107,7 @@
#define T2_READ_PTR(ptr) (void*) T2_READ_32(ptr)
// Macros for checking the joypad
-#define TEST_BUTTON(field, button) ({(field) & (button);})
+#define TEST_BUTTON(field, button) ((field) & (button))
#define JOY_NEW(button) TEST_BUTTON(gMain.newKeys, button)
#define JOY_HELD(button) TEST_BUTTON(gMain.heldKeys, button)
#define JOY_HELD_RAW(button) TEST_BUTTON(gMain.heldKeysRaw, button)