summaryrefslogtreecommitdiff
path: root/src/d/d_kankyo_rain.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-03 15:41:55 -0500
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-02-03 15:41:55 -0500
commit74f571ff9738d494eed3159fe99bf0a47dfc5798 (patch)
treedea2a3df28140632ace67c37a0aaf9e891f5225a /src/d/d_kankyo_rain.cpp
parent129400c80130da50601236c0d533f7d49a140155 (diff)
Clean up resource enums, more inline work
Diffstat (limited to 'src/d/d_kankyo_rain.cpp')
-rw-r--r--src/d/d_kankyo_rain.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/d/d_kankyo_rain.cpp b/src/d/d_kankyo_rain.cpp
index 02a23171..9144ce9e 100644
--- a/src/d/d_kankyo_rain.cpp
+++ b/src/d/d_kankyo_rain.cpp
@@ -712,8 +712,7 @@ void dKyr_rain_init() {
/* 8008D0B4-8008D0DC .text rain_bg_chk__FP19dKankyo_rain_Packeti */
void rain_bg_chk(dKankyo_rain_Packet* pPkt, int idx) {
- camera_class* pCamera = g_dComIfG_gameInfo.play.mCameraInfo[0].mpCamera;
- pPkt->mEff[idx].field_0x30 = pCamera->mLookat.mCenter.y + -800.0f;
+ pPkt->mEff[idx].field_0x30 = dComIfGp_getCamera(0)->mLookat.mCenter.y + -800.0f;
}
/* 8008D0DC-8008D53C .text overhead_bg_chk__Fv */