summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_auction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/actor/d_a_auction.cpp')
-rw-r--r--src/d/actor/d_a_auction.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/d/actor/d_a_auction.cpp b/src/d/actor/d_a_auction.cpp
index 04c7aa77..1030aa6e 100644
--- a/src/d/actor/d_a_auction.cpp
+++ b/src/d/actor/d_a_auction.cpp
@@ -297,9 +297,14 @@ cPhs_State daAuction_c::createInit() {
/* 000008C4-0000092C .text _delete__11daAuction_cFv */
BOOL daAuction_c::_delete() {
- dComIfG_resDelete(&mPhs, "Pspl");
+ dComIfG_resDeleteDemo(&mPhs, "Pspl");
- if (heap != NULL && mpEmitter != NULL) {
+#if VERSION == VERSION_DEMO
+ if (mpEmitter != NULL)
+#else
+ if (heap != NULL && mpEmitter != NULL)
+#endif
+ {
mpEmitter->becomeInvalidEmitter();
}