From 102042628fa139f4e509251bdd9095493f031e28 Mon Sep 17 00:00:00 2001 From: LagoLunatic Date: Tue, 26 May 2026 00:11:58 -0400 Subject: Process profiles and enums cleanup (#1031) * Fix some profile comments * Add missing static for local visibility data * Move proc name and draw priority enums to f_pc * Add _e suffix to daObjBarrier_c proc enum * Change proc name enum format to match TP * Change draw prio enum format to match TP * Change ItemNo enum format, finish fixing item names * Revert static for cb1 hio * Clean up formatting of profile comments * Fix comment alignment --- src/d/d_a_obj.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/d/d_a_obj.cpp') diff --git a/src/d/d_a_obj.cpp b/src/d/d_a_obj.cpp index 8ad9caa1..eb5bcd21 100644 --- a/src/d/d_a_obj.cpp +++ b/src/d/d_a_obj.cpp @@ -10,7 +10,6 @@ #include "d/d_bg_s_gnd_chk.h" #include "d/d_com_inf_game.h" #include "d/d_lib.h" -#include "d/d_procname.h" #include "d/d_kankyo_wether.h" #include "d/d_path.h" #include "JSystem/JParticle/JPAEmitter.h" @@ -287,7 +286,7 @@ void HitSeStart(const cXyz* i_sePos, int i_roomNo, const dCcD_GObjInf* i_CcObj, } else if (hit_obj->ChkAtType(AT_TYPE_HOOKSHOT)) { sfx = JA_SE_LK_HS_REBOUND; } else { - if (fopAcM_GetProfName(hit_actor) == PROC_PLAYER) { + if (fopAcM_GetProfName(hit_actor) == fpcNm_PLAYER_e) { daPy_py_c* sp14 = (daPy_py_c*)hit_actor; if (sp14->checkMasterSwordEquip()) { master_sword_hit = true; -- cgit v1.2.3