summaryrefslogtreecommitdiffstats
path: root/src/modelinfo
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
committeraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
commit53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb (patch)
treefc65a6c40fa719f9d43be9e0e15be79c490135e0 /src/modelinfo
parentfinished CPhysical (diff)
downloadre3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.gz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.bz2
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.lz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.xz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.zst
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.zip
Diffstat (limited to 'src/modelinfo')
-rw-r--r--src/modelinfo/MloInstance.cpp7
-rw-r--r--src/modelinfo/MloInstance.h9
2 files changed, 16 insertions, 0 deletions
diff --git a/src/modelinfo/MloInstance.cpp b/src/modelinfo/MloInstance.cpp
new file mode 100644
index 00000000..dbd83727
--- /dev/null
+++ b/src/modelinfo/MloInstance.cpp
@@ -0,0 +1,7 @@
+#include "common.h"
+#include "patcher.h"
+#include "MloInstance.h"
+
+STARTPATCHES
+InjectHook(0x50BE90, &CMloInstance::dtor, PATCH_JUMP);
+ENDPATCHES \ No newline at end of file
diff --git a/src/modelinfo/MloInstance.h b/src/modelinfo/MloInstance.h
new file mode 100644
index 00000000..00afc379
--- /dev/null
+++ b/src/modelinfo/MloInstance.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "Placeable.h"
+
+class CMloInstance : CPlaceable
+{
+public:
+ void dtor() { this->CMloInstance::~CMloInstance(); }
+}; \ No newline at end of file