summaryrefslogtreecommitdiff
path: root/src/code/z_player_lib.c
diff options
context:
space:
mode:
authorplayerskel <97991990+playerskel@users.noreply.github.com>2022-01-25 01:08:37 +0100
committerGitHub <noreply@github.com>2022-01-24 19:08:37 -0500
commit82cedcc3ef96ddb58848b049edf69a08e3e66cbf (patch)
treee8b57b65c0e754c18ce6b63796112f38f519e98a /src/code/z_player_lib.c
parent621b91e2b6d3c559c1c863a8d09116e176498779 (diff)
proposal for link age macros (#1119)
* proposal for link age macros * apply @Dragorn421 suggestions * also annotate the slinkage variable
Diffstat (limited to 'src/code/z_player_lib.c')
-rw-r--r--src/code/z_player_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_player_lib.c b/src/code/z_player_lib.c
index 71b14e252..7dec7c8df 100644
--- a/src/code/z_player_lib.c
+++ b/src/code/z_player_lib.c
@@ -342,7 +342,7 @@ s32 func_8008E9C4(Player* this) {
}
s32 Player_IsChildWithHylianShield(Player* this) {
- return gSaveContext.linkAge != 0 && (this->currentShield == PLAYER_SHIELD_HYLIAN);
+ return gSaveContext.linkAge != LINK_AGE_ADULT && (this->currentShield == PLAYER_SHIELD_HYLIAN);
}
s32 Player_ActionToModelGroup(Player* this, s32 actionParam) {