summaryrefslogtreecommitdiff
path: root/src/d/d_event_data.cpp
diff options
context:
space:
mode:
authorCaroline Madsen <69010899+randomsalience@users.noreply.github.com>2024-10-27 00:35:25 -0400
committerGitHub <noreply@github.com>2024-10-26 21:35:25 -0700
commitf5e80cf9fda54894e97af8629386e2a7c562479a (patch)
tree033b66397086e01b49bb30968cc30e3480a11c76 /src/d/d_event_data.cpp
parent606178dc88e162969a636644f410c72cbb5eca64 (diff)
d_camera work (#2226)
Diffstat (limited to 'src/d/d_event_data.cpp')
-rw-r--r--src/d/d_event_data.cpp6
1 files changed, 3 insertions, 3 deletions
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
+}