summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_myna.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-11-09 12:14:56 +0200
committerGitHub <noreply@github.com>2025-11-09 02:14:56 -0800
commit885e29c359bf2870bba14e5496e3312691d523fe (patch)
tree5b0fb2580903b28ccc2dac19d735af1ef4f2ecc4 /src/d/actor/d_a_myna.cpp
parent4b5277295ed47d4c83105d06af6df49cfcfafd56 (diff)
d_a_myna linked (#2785)
Diffstat (limited to 'src/d/actor/d_a_myna.cpp')
-rw-r--r--src/d/actor/d_a_myna.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/d/actor/d_a_myna.cpp b/src/d/actor/d_a_myna.cpp
index 04ec9c8221..b80f860081 100644
--- a/src/d/actor/d_a_myna.cpp
+++ b/src/d/actor/d_a_myna.cpp
@@ -1291,7 +1291,10 @@ void daMyna_c::deleteItem(int i_itemIndex) {
mShopItems[i_itemIndex].mItemStatus = 4;
}
-// this seems to be missing in the final REL??
+// For some reason, this function needs to be force active or the linker strips it out.
+#pragma push
+#pragma force_active on
+
/* 80949144-80949190 0035C4 004C+00 0/0 0/0 0/0 .text deleteItem__8daMyna_cFUi */
void daMyna_c::deleteItem(fpc_ProcID i_itemId) {
for (int i = 0; i < mNumShopItems; i++) {
@@ -1302,6 +1305,8 @@ void daMyna_c::deleteItem(fpc_ProcID i_itemId) {
}
}
+#pragma pop
+
/* 80949190-80949408 003610 0278+00 1/1 0/0 0/0 .text initiate__8daMyna_cFv */
void daMyna_c::initiate() {
for (int i = 0; i < 10; i++) {