summaryrefslogtreecommitdiff
path: root/src/d/d_camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_camera.cpp')
-rw-r--r--src/d/d_camera.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_camera.cpp b/src/d/d_camera.cpp
index a5a13fed..e223d609 100644
--- a/src/d/d_camera.cpp
+++ b/src/d/d_camera.cpp
@@ -4021,10 +4021,10 @@ bool dCamera_c::subjectCamera(s32 param_1) {
setComZoomScale(1.0f);
- f32 x = (g_dComIfG_gameInfo.play.field_0x48b8 - 1.0f) * 0.5f * 640.0f + 320.0f;
+ f32 x = (g_dComIfG_gameInfo.play.mItemScopeWipeScale - 1.0f) * 0.5f * 640.0f + 320.0f;
if (x < 640.0f &&
- g_dComIfG_gameInfo.play.field_0x48b8 >= 1.0f &&
- g_dComIfG_gameInfo.play.field_0x48b8 <= 3.0f) {
+ g_dComIfG_gameInfo.play.mItemScopeWipeScale >= 1.0f &&
+ g_dComIfG_gameInfo.play.mItemScopeWipeScale <= 3.0f) {
f32 s = (640.0f - x) / 320.0f;