diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-26 00:11:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-26 00:11:58 -0400 |
| commit | 102042628fa139f4e509251bdd9095493f031e28 (patch) | |
| tree | a5b37fcd76d8c0105f2e9b379b7e2daa7eae2266 /src/d/d_detect.cpp | |
| parent | 79277cb2b2672104b87172d8ff620f923f450658 (diff) | |
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
Diffstat (limited to 'src/d/d_detect.cpp')
| -rw-r--r-- | src/d/d_detect.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/d_detect.cpp b/src/d/d_detect.cpp index f8723a30..8fc19768 100644 --- a/src/d/d_detect.cpp +++ b/src/d/d_detect.cpp @@ -8,7 +8,6 @@ #include "d/d_com_inf_game.h" #include "d/actor/d_a_player.h" #include "d/actor/d_a_tag_light.h" -#include "d/d_procname.h" const dDetect_c::Attr_c dDetect_c::M_attr = { /* maxDistXZ */ 500.0f, @@ -105,7 +104,7 @@ bool dDetect_c::chk_quake_area(const cXyz* pos) const { /* 8009C32C-8009C588 .text search_tag_light__9dDetect_cFPvPv */ void* dDetect_c::search_tag_light(void* i_proc, void* i_pos) { - if (fopAc_IsActor(i_proc) && fopAcM_GetName(i_proc) == PROC_Tag_Light) { + if (fopAc_IsActor(i_proc) && fopAcM_GetName(i_proc) == fpcNm_Tag_Light_e) { daTagLight::Act_c* light = (daTagLight::Act_c*)i_proc; const cXyz* pos = (const cXyz*)i_pos; if (light->chk_inside(pos)) { |
