diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-17 20:58:43 -0500 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-17 20:58:43 -0500 |
| commit | e8adc6c9e540a8df0efdf2b0c22737ebc0481055 (patch) | |
| tree | fc6cafc90e676ba194c40f3153a2081033564843 /include/d/actor/d_a_player.h | |
| parent | c609b6780c28f05dd78d55adfafaf3352cdb71a6 (diff) | |
Rename more item enums
Diffstat (limited to 'include/d/actor/d_a_player.h')
| -rw-r--r-- | include/d/actor/d_a_player.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/d/actor/d_a_player.h b/include/d/actor/d_a_player.h index 5ca60987..ab06eb5d 100644 --- a/include/d/actor/d_a_player.h +++ b/include/d/actor/d_a_player.h @@ -461,13 +461,13 @@ public: bool checkGrabWear() const { return field_0x2b0 < 0.0f; } bool checkNormalSwordEquip() const { - return dComIfGs_getSelectEquip(0) == SWORD || + return dComIfGs_getSelectEquip(0) == dItem_SWORD_e || dComIfGp_getMiniGameType() == 2; } bool checkMasterSwordEquip() const { - return dComIfGs_getSelectEquip(0) == MASTER_SWORD || - dComIfGs_getSelectEquip(0) == LV3_SWORD || - dComIfGs_getSelectEquip(0) == MASTER_SWORD_EX; + return dComIfGs_getSelectEquip(0) == dItem_MASTER_SWORD_1_e || + dComIfGs_getSelectEquip(0) == dItem_MASTER_SWORD_2_e || + dComIfGs_getSelectEquip(0) == dItem_MASTER_SWORD_3_e; } void setFace(daPy_FACE face) { mFace = face; } |
