summaryrefslogtreecommitdiff
path: root/src/object/button.c
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2021-11-04 20:56:03 -0700
committertheo3 <arisstephenson2@gmail.com>2021-11-04 20:56:03 -0700
commit9cfbb3a27a4c8be6adad1ab060db777b30d52ec2 (patch)
treef76a10c993a59a7775eea09f23b441746d9ceeb1 /src/object/button.c
parent9ef31544e24c8b0a43b0d712eb77e9210d2641d3 (diff)
entity changes, textbox changes
Diffstat (limited to 'src/object/button.c')
-rw-r--r--src/object/button.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/button.c b/src/object/button.c
index 52876a45..8bbd7bca 100644
--- a/src/object/button.c
+++ b/src/object/button.c
@@ -153,11 +153,11 @@ Entity* sub_08081D74(Entity* this) {
}
ent = 0;
if (sub_08081E0C(this)) {
- if (!(gPlayerState.flags.all & 0x10) && !(gPlayerState.flags.all & 0x80)) {
+ if (!(gPlayerState.flags & 0x10) && !(gPlayerState.flags & 0x80)) {
ent = &gPlayerEntity;
}
} else {
- if (gPlayerState.flags.all & 0x400000) {
+ if (gPlayerState.flags & 0x400000) {
if (sub_080041A0(this, gUnk_03004040[0], 5, 6)) {
ent = gUnk_03004040[0];
} else if (sub_080041A0(this, gUnk_03004040[1], 5, 6)) {