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
+2 -2
View File
@@ -60,11 +60,11 @@ const char* dEvent_exception_c::getEventName() {
return "(!NO INFO!)";
}
if (mEventInfoIdx < 0 || mEventInfoIdx > eventInfo->mCount) {
if (mEventInfoIdx < 0 || mEventInfoIdx > eventInfo->num) {
return "(!BAD NUMBER!)";
}
dStage_MapEvent_dt_c* revt = &eventInfo->mData[mEventInfoIdx];
dStage_MapEvent_dt_c* revt = &eventInfo->m_entries[mEventInfoIdx];
switch (revt->mType) {
case 1:
case 2: