d_a_magma OK for demo

This commit is contained in:
LagoLunatic
2026-08-12 12:18:36 -04:00
parent 2289b54d5f
commit 5f056105b3
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -10,11 +10,11 @@
#include "d/d_magma.h"
daMagma_c::~daMagma_c() {
dComIfG_resDelete(&mPhs, "Magma");
dComIfG_resDeleteDemo(&mPhs, "Magma");
}
cPhs_State daMagma_c::create() {
fopAcM_ct(this, daMagma_c);
fopAcM_ct_Retail(this, daMagma_c);
cPhs_State result = dComIfG_resLoad(&mPhs, "Magma");
if (result != cPhs_COMPLEATE_e) {
@@ -25,7 +25,7 @@ cPhs_State daMagma_c::create() {
dComIfGp_getMagma()->newFloor(
current.pos,
scale,
current.roomNo,
fopAcM_GetRoomNo(this),
getPathNo()
);
}