summaryrefslogtreecommitdiff
path: root/src/d/d_s_open.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-06-04 16:50:49 -0400
committerGitHub <noreply@github.com>2025-06-04 16:50:49 -0400
commite24cbed36724b9ae422875a6da46b8c10d69ca19 (patch)
tree144d0841819533767ff69dc541bd655f7adeaab4 /src/d/d_s_open.cpp
parent08571c4865fed64bb39c422ae0b973f977af93b4 (diff)
Demo work (#786)
* Demo work * Fix PAL * Fix d_door weak func order and link it * Fix d_door for demo * JKernel OK on demo + misc * tag_attention 100% on demo * More demo work and fix some retail fakematches
Diffstat (limited to 'src/d/d_s_open.cpp')
-rw-r--r--src/d/d_s_open.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/d/d_s_open.cpp b/src/d/d_s_open.cpp
index 7cb6ef4b..d030b42b 100644
--- a/src/d/d_s_open.cpp
+++ b/src/d/d_s_open.cpp
@@ -72,11 +72,15 @@ BOOL dScnOpen_c::draw() {
/* 80232D38-80232DD8 .text __dt__10dScnOpen_cFv */
dScnOpen_c::~dScnOpen_c() {
+#if VERSION > VERSION_DEMO
if (mpProc != NULL)
+#endif
delete mpProc;
+#if VERSION > VERSION_DEMO
if (solid_heap != NULL)
+#endif
mDoExt_destroySolidHeap(solid_heap);
- dComIfG_resDelete(&mPhs, "Opening");
+ dComIfG_resDeleteDemo(&mPhs, "Opening");
dComIfGp_setWindowNum(0);
}