d_stage cleanup (#2392)

This commit is contained in:
LagoLunatic
2025-04-13 23:54:57 -04:00
committed by GitHub
parent 3df5c7bb42
commit f891887626
47 changed files with 1184 additions and 1609 deletions
+3 -3
View File
@@ -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");