mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 13:45:14 -04:00
Fix camera structs being swapped
`camera_process_class` and `camera_class` were swapped according to TP's RTTI info.
This commit is contained in:
@@ -2564,7 +2564,7 @@ static void demo_camera(tn_class* i_this) {
|
||||
camera->SetTrimSize(1);
|
||||
i_this->m14F8 = 0x33;
|
||||
|
||||
camera_class* r3 = dComIfGp_getCamera(0);
|
||||
camera_process_class* r3 = dComIfGp_getCamera(0);
|
||||
i_this->mCameraEyePos = r3->mLookat.mEye;
|
||||
i_this->mCenterPos = r3->mLookat.mCenter;
|
||||
i_this->m1514 = 55.0f;
|
||||
|
||||
Reference in New Issue
Block a user