summaryrefslogtreecommitdiff
path: root/src/d/d_event_data.cpp
diff options
context:
space:
mode:
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
+}