d_envse OK

This commit is contained in:
LagoLunatic
2024-02-04 20:33:51 -05:00
parent 946172442e
commit 0d899b50f5
8 changed files with 192 additions and 14 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ BOOL daBg_c::createHeap() {
return FALSE;
if (bgw->Set(dzb, cBgW::GLOBAL_e, NULL))
return FALSE;
dComIfGp_roomControl_setBgW(roomNo, bgw);
dStage_roomControl_c::setBgW(roomNo, bgw);
bgw->mWallCorrectPriority = 0;
} else {
bgw = NULL;
@@ -223,7 +223,7 @@ daBg_c::~daBg_c() {
if (heap != NULL && bgw != NULL) {
dComIfG_Bgsp()->Release(bgw);
dComIfGp_roomControl_setBgW(roomNo, NULL);
dStage_roomControl_c::setBgW(roomNo, NULL);
}
if (dComIfGp_getMagma() != NULL)
dComIfGp_getMagma()->deleteRoom(roomNo);