mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-01 07:57:21 -04:00
some cleanup of f_pc/f_op files (#2254)
* cleanup f_pc files * cleanup f_op files * fix a couple f_op_actor_mng functions * minor JSystem work
This commit is contained in:
@@ -217,8 +217,8 @@ static int daNPC_LF_Execute(npc_lf_class* i_this) {
|
||||
|
||||
for (int i = 0; i < i_this->mIter; i++, fish++) {
|
||||
cXyz pos;
|
||||
pos.x = fish->field_0x04.x - camera->mLookat.mEye.x;
|
||||
pos.z = fish->field_0x04.z - camera->mLookat.mEye.z;
|
||||
pos.x = fish->field_0x04.x - camera->lookat.eye.x;
|
||||
pos.z = fish->field_0x04.z - camera->lookat.eye.z;
|
||||
|
||||
f32 res = JMAFastSqrt((pos.x * pos.x) + (pos.z * pos.z));
|
||||
if (res < 1500.0f) {
|
||||
@@ -358,7 +358,7 @@ extern actor_process_profile_definition g_profile_NPC_LF = {
|
||||
7, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
PROC_NPC_LF, // mProcName
|
||||
&g_fpcLf_Method.mBase, // sub_method
|
||||
&g_fpcLf_Method.base, // sub_method
|
||||
sizeof(npc_lf_class), // mSize
|
||||
0, // mSizeOther
|
||||
0, // mParameters
|
||||
|
||||
Reference in New Issue
Block a user