summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_player_npc.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-05-26 00:11:58 -0400
committerGitHub <noreply@github.com>2026-05-26 00:11:58 -0400
commit102042628fa139f4e509251bdd9095493f031e28 (patch)
treea5b37fcd76d8c0105f2e9b379b7e2daa7eae2266 /src/d/actor/d_a_player_npc.cpp
parent79277cb2b2672104b87172d8ff620f923f450658 (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/actor/d_a_player_npc.cpp')
-rw-r--r--src/d/actor/d_a_player_npc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/actor/d_a_player_npc.cpp b/src/d/actor/d_a_player_npc.cpp
index b1e399b9..d0905f9f 100644
--- a/src/d/actor/d_a_player_npc.cpp
+++ b/src/d/actor/d_a_player_npc.cpp
@@ -8,7 +8,6 @@
#include "d/d_com_inf_game.h"
#include "m_Do/m_Do_lib.h"
#include "SSystem/SComponent/c_counter.h"
-#include "d/d_procname.h"
/* 8015A37C-8015A448 .text check_initialRoom__10daPy_npc_cFv */
int daPy_npc_c::check_initialRoom() {
@@ -186,7 +185,7 @@ void daPy_npc_c::drawDamageFog() {
/* 8015AD20-8015AEF8 .text chkMoveBlock__10daPy_npc_cFP4cXyz */
int daPy_npc_c::chkMoveBlock(cXyz* outBlockVel) {
cXyz blockRelPos;
- fopAc_ac_c* block = daPy_npc_SearchAreaByName(this, PROC_Obj_Movebox, 300.0f, &blockRelPos);
+ fopAc_ac_c* block = daPy_npc_SearchAreaByName(this, fpcNm_Obj_Movebox_e, 300.0f, &blockRelPos);
if (block) {
cXyz blockVel = block->current.pos - block->old.pos;
if (blockVel.abs() > 0.001f) {