summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshawlucas <lgs84@cornell.edu>2020-03-21 20:37:35 -0700
committershawlucas <lgs84@cornell.edu>2020-03-21 20:37:35 -0700
commit13e2c84dbf2535c31db55e1bedebab5ee128d43d (patch)
tree656447b078109f5cae14a9cd1806231e733f3000 /src
parent2c77e700401231c68ed6cb9a3d8c6d2685039a98 (diff)
Made suggested changes
Diffstat (limited to 'src')
-rw-r--r--src/overlays/actors/ovl_Bg_Toki_Swd/z_bg_toki_swd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/overlays/actors/ovl_Bg_Toki_Swd/z_bg_toki_swd.c b/src/overlays/actors/ovl_Bg_Toki_Swd/z_bg_toki_swd.c
index 53b2ba7a3..459d1d336 100644
--- a/src/overlays/actors/ovl_Bg_Toki_Swd/z_bg_toki_swd.c
+++ b/src/overlays/actors/ovl_Bg_Toki_Swd/z_bg_toki_swd.c
@@ -445,10 +445,12 @@ static void func_808BB0AC(BgTokiSwd* this, GlobalContext* globalCtx)
this->actor.draw = BgTokiSwd_Draw; //sword has been placed, draw the master sword
}
BgTokiSwd_SetupAction(this, func_808BB128);
- return;
}
- player = PLAYER;
- player->interactRangeActor = &this->actor;
+ else
+ {
+ player = PLAYER;
+ player->interactRangeActor = &this->actor;
+ }
}
static void func_808BB128(BgTokiSwd* this, GlobalContext* globalCtx)