From f5e80cf9fda54894e97af8629386e2a7c562479a Mon Sep 17 00:00:00 2001 From: Caroline Madsen <69010899+randomsalience@users.noreply.github.com> Date: Sun, 27 Oct 2024 00:35:25 -0400 Subject: d_camera work (#2226) --- src/d/d_event_data.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/d/d_event_data.cpp') diff --git a/src/d/d_event_data.cpp b/src/d/d_event_data.cpp index 14459e90a3..e3dc2a1c15 100644 --- a/src/d/d_event_data.cpp +++ b/src/d/d_event_data.cpp @@ -155,10 +155,10 @@ static int dEvDt_Next_Stage(int index, int wipe_type) { point = stgInfo->mStart; roomNo = (s8)stgInfo->mRoom; layer = dStage_sclsInfo_getSceneLayer(stgInfo); - wipe = (s8)stgInfo->mWipe; + wipe = dStage_sclsInfo_getWipe(stgInfo); wipe_time = dStage_sclsInfo_getWipeTime(stgInfo); - if (stgInfo->mWipe == 15) { + if (wipe == 15) { wipe = 0; } @@ -1285,4 +1285,4 @@ BOOL dEvDtBase_c::advanceCutLocal(dEvDtStaff_c* p_staff) { } p_staff->field_0x40 = false; return FALSE; -} \ No newline at end of file +} -- cgit v1.2.3