mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 05:37:03 -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:
@@ -1612,7 +1612,7 @@ bool mDoGph_Painter() {
|
||||
if (dComIfGp_getWindowNum() != 0) {
|
||||
dDlst_window_c* window = dComIfGp_getWindow(0);
|
||||
s32 cameraID = window->getCameraID();
|
||||
camera_class* camera = (camera_class*)dComIfGp_getCamera(cameraID);
|
||||
camera_process_class* camera = (camera_process_class*)dComIfGp_getCamera(cameraID);
|
||||
|
||||
if (camera != NULL) {
|
||||
dComIfGd_imageDrawShadow(camera->mViewMtx);
|
||||
|
||||
Reference in New Issue
Block a user