diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-04-13 23:54:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-13 20:54:57 -0700 |
| commit | f891887626e36b991b0e8afd4e6b995c3d1a4540 (patch) | |
| tree | 639a8bbd0062ca6f0d8ae6775e2afb06b2b096bf /src/d/d_event_data.cpp | |
| parent | 3df5c7bb42c1b886024b254fec28e5f98310b630 (diff) | |
d_stage cleanup (#2392)
Diffstat (limited to 'src/d/d_event_data.cpp')
| -rw-r--r-- | src/d/d_event_data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_event_data.cpp b/src/d/d_event_data.cpp index 380324c86a..0893d2846b 100644 --- a/src/d/d_event_data.cpp +++ b/src/d/d_event_data.cpp @@ -149,8 +149,8 @@ static int dEvDt_Next_Stage(int index, int wipe_type) { info = dComIfGp_roomControl_getStatusRoomDt(room_no)->getSclsInfo(); } - if (info != NULL && id >= 0 && id < info->numEntries) { - stage_scls_info_class* stgInfo = &info->mEntries[id]; + if (info != NULL && id >= 0 && id < info->num) { + stage_scls_info_class* stgInfo = &info->m_entries[id]; stage = stgInfo->mStage; point = stgInfo->mStart; roomNo = (s8)stgInfo->mRoom; @@ -739,7 +739,7 @@ void dEvDtStaff_c::specialProcDirector() { if (switchTableP != NULL) { switchTable = *switchTableP; } else { - switchTable = i_dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo()); + switchTable = dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo()); } int* switchBitP = dComIfGp_evmng_getMyIntegerP(staffId, "SwitchBit"); |
