summaryrefslogtreecommitdiff
path: root/src/object/fan.c
diff options
context:
space:
mode:
author21aslade <21aslade@go.dsdmail.net>2020-11-07 15:22:02 -0700
committer21aslade <21aslade@go.dsdmail.net>2020-11-07 15:22:02 -0700
commitd04dc143fbbef8feef61daf39d110703f4dfda9b (patch)
tree626b7ee4279b2224aa06bef8231fd6daa4363998 /src/object/fan.c
parent4b6f822829d6dd771ed995030f1bf1d24f204536 (diff)
parentf1bfe499de0afdd8e93c5e3e0e6c9e12b3343e1b (diff)
Merge branch 'master' of https://github.com/zeldaret/tmc
Diffstat (limited to 'src/object/fan.c')
-rw-r--r--src/object/fan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/fan.c b/src/object/fan.c
index e56beeff..04854f4d 100644
--- a/src/object/fan.c
+++ b/src/object/fan.c
@@ -40,8 +40,8 @@ void sub_0809ED88(Entity *this)
{
sub_0809F08C();
sub_0809EE44(this);
- if (this->field_0x86 != 0) {
- if (this->cutsceneBeh.HWORD == this->field_0x86) {
+ if (this->field_0x86.HWORD != 0) {
+ if (this->cutsceneBeh.HWORD == this->field_0x86.HWORD) {
if (CheckFlags(this->cutsceneBeh.HWORD)) {
return;
}