d_stage progress + struct fixes

This commit is contained in:
LagoLunatic
2023-11-11 17:29:26 -05:00
parent 322fc6cd9e
commit d19b7859e9
11 changed files with 375 additions and 147 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ dPath* dPath_GetRoomPath(int path_index, int room_no) {
pd = dComIfGp_getStage().getPath2Inf();
} else {
JUT_ASSERT(0x3d, 0 <= room_no && room_no < 64);
dStage_roomStatus_c * pRoom = dComIfGp_roomControl_getStatusRoomDt(room_no);
dStage_roomDt_c * pRoom = dComIfGp_roomControl_getStatusRoomDt(room_no);
if (pRoom == NULL)
return NULL;
pd = pRoom->getPath2Inf();
@@ -43,7 +43,7 @@ dPath* dPath_GetNextRoomPath(dPath* path, int room_no) {
if (room_no == -1) {
pd = dComIfGp_getStage().getPath2Inf();
} else {
dStage_roomStatus_c * pRoom = dComIfGp_roomControl_getStatusRoomDt(room_no);
dStage_roomDt_c * pRoom = dComIfGp_roomControl_getStatusRoomDt(room_no);
if (pRoom == NULL)
return NULL;
pd = pRoom->getPath2Inf();