diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-11-29 08:24:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-29 18:24:26 +0200 |
| commit | 24b72a5302ed7a5a1300dd19b81c64c632e0d9de (patch) | |
| tree | 6e1317343d4d20d2abc77ea51ba63e360212fdce /src/d/actor/d_a_e_bee.cpp | |
| parent | d0e243a22a66d849947f763483a02105f7a2ec3a (diff) | |
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
Diffstat (limited to 'src/d/actor/d_a_e_bee.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_bee.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_e_bee.cpp b/src/d/actor/d_a_e_bee.cpp index d1010098a8..48e228fdcd 100644 --- a/src/d/actor/d_a_e_bee.cpp +++ b/src/d/actor/d_a_e_bee.cpp @@ -629,8 +629,8 @@ static void bee_control(e_bee_class* i_this) { cXyz vec3; if (dComIfGp_checkPlayerStatus0(0, 0x200000)) { - vec3.x = bee->mPos.x - camera->mLookat.mEye.x; - vec3.z = bee->mPos.z - camera->mLookat.mEye.z; + vec3.x = bee->mPos.x - camera->lookat.eye.x; + vec3.z = bee->mPos.z - camera->lookat.eye.z; if (JMAFastSqrt(vec3.x * vec3.x + vec3.z * vec3.z) > 2500.0f) { bee->mNoDraw = true; } @@ -1083,7 +1083,7 @@ extern actor_process_profile_definition g_profile_E_BEE = { 7, fpcPi_CURRENT_e, PROC_E_BEE, - &g_fpcLf_Method.mBase, + &g_fpcLf_Method.base, sizeof(e_bee_class), 0, 0, |
