diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2026-03-06 22:30:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-06 22:30:25 -0800 |
| commit | 30e839c28be83fb07bfbe008d3eb9eb9127e3801 (patch) | |
| tree | 5b63a788dcbc6cbefc46ca6a9c2f2a3248be1dfe /src/d/actor/d_a_e_sm2.cpp | |
| parent | 6c72b91f8e477ee94ccdc56b94605140e9f2abd6 (diff) | |
d_s_room / d_s_name / d_a_title debug work (#3123)
* d_s_room / d_s_name debug work
* camera_class rtti fix
* d_a_title debug / handle shield rel changes
* fix shield build
* fix regressions
Diffstat (limited to 'src/d/actor/d_a_e_sm2.cpp')
| -rw-r--r-- | src/d/actor/d_a_e_sm2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_e_sm2.cpp b/src/d/actor/d_a_e_sm2.cpp index e1bd691a5d..c81be26d70 100644 --- a/src/d/actor/d_a_e_sm2.cpp +++ b/src/d/actor/d_a_e_sm2.cpp @@ -1358,15 +1358,15 @@ static int daE_SM2_Execute(e_sm2_class* i_this) { if (i_this->field_0x83e != 0) { fopAc_ac_c* player = dComIfGp_getPlayer(0); - camera_class* camera = dComIfGp_getCamera(0); + camera_process_class* camera = dComIfGp_getCamera(0); cXyz start; cXyz end; i_this->field_0x83e--; - start.x = camera->lookat.eye.x; - start.y = camera->lookat.eye.y; - start.z = camera->lookat.eye.z; + start.x = camera->view.lookat.eye.x; + start.y = camera->view.lookat.eye.y; + start.z = camera->view.lookat.eye.z; end = actor->current.pos; end.y += 20.0f; |
