summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_e_sh.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2026-03-06 22:30:25 -0800
committerGitHub <noreply@github.com>2026-03-06 22:30:25 -0800
commit30e839c28be83fb07bfbe008d3eb9eb9127e3801 (patch)
tree5b63a788dcbc6cbefc46ca6a9c2f2a3248be1dfe /src/d/actor/d_a_e_sh.cpp
parent6c72b91f8e477ee94ccdc56b94605140e9f2abd6 (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_sh.cpp')
-rw-r--r--src/d/actor/d_a_e_sh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_e_sh.cpp b/src/d/actor/d_a_e_sh.cpp
index b05c57eef8..397f067d20 100644
--- a/src/d/actor/d_a_e_sh.cpp
+++ b/src/d/actor/d_a_e_sh.cpp
@@ -1003,7 +1003,7 @@ static int daE_SH_Execute(e_sh_class* i_this) {
MTXCopy(model->getAnmMtx(13), *calc_mtx);
- camera_class* camera = dComIfGp_getCamera(0);
+ camera_process_class* camera = dComIfGp_getCamera(0);
s16 rotX;
s16 rotY;
@@ -1014,7 +1014,7 @@ static int daE_SH_Execute(e_sh_class* i_this) {
if (i == 0) {
unkXyz1.set(15.0f + TREG_F(0), 3.5f + TREG_F(1), TREG_F(2));
MtxPosition(&unkXyz1, &unkXyz2);
- unkXyz1 = camera->lookat.eye - unkXyz2;
+ unkXyz1 = camera->view.lookat.eye - unkXyz2;
rotY = cM_atan2s(unkXyz1.x, unkXyz1.z);
rotX = -cM_atan2s(unkXyz1.y, JMAFastSqrt(unkXyz1.x * unkXyz1.x + unkXyz1.z * unkXyz1.z));