mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 12:24:45 -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:
@@ -767,7 +767,7 @@ BOOL daNbomb_c::procExplode() {
|
||||
mLightInfluence.mPow = mExplosionStrength * 1500.0f;
|
||||
mWindInfluence.mStrength = mExplosionStrength;
|
||||
|
||||
f32 dist_to_cam = current.pos.abs(camera->mLookat.mEye);
|
||||
f32 dist_to_cam = current.pos.abs(camera->lookat.eye);
|
||||
if (dist_to_cam < 1500.0f) {
|
||||
dist_scale = dist_to_cam / 1500.0f;
|
||||
dist_scale *= dist_scale * dist_scale;
|
||||
@@ -1757,7 +1757,7 @@ extern actor_process_profile_definition g_profile_NBOMB = {
|
||||
7, // mListID
|
||||
fpcPi_CURRENT_e, // mListPrio
|
||||
PROC_NBOMB, // mProcName
|
||||
&g_fpcLf_Method.mBase, // sub_method
|
||||
&g_fpcLf_Method.base, // sub_method
|
||||
sizeof(daNbomb_c), // mSize
|
||||
0, // mSizeOther
|
||||
0, // mParameters
|
||||
|
||||
Reference in New Issue
Block a user