summaryrefslogtreecommitdiff
path: root/src/d/d_insect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_insect.cpp')
-rw-r--r--src/d/d_insect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/d/d_insect.cpp b/src/d/d_insect.cpp
index f99b6af124..af8fae97b5 100644
--- a/src/d/d_insect.cpp
+++ b/src/d/d_insect.cpp
@@ -9,6 +9,7 @@
#include "m_Do/m_Do_lib.h"
#include "dol2asm.h"
+#if VERSION == VERSION_GCN_USA
// This is a HACK to get d_insect data at correct address due to
// issues with the d_a_obj_item vtable. TODO: fix daItem_c vtable
#pragma push
@@ -24,6 +25,7 @@ SECTION_DATA extern void* __vt__8daItem_c__HACK[] = {
NULL,
};
#pragma pop
+#endif
/* 8015E010-8015E078 158950 0068+00 0/0 0/0 13/13 .text __ct__9dInsect_cFv */
dInsect_c::dInsect_c() {