summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorblingu <36486731+blingu@users.noreply.github.com>2020-03-25 21:07:07 +0100
committerGitHub <noreply@github.com>2020-03-25 21:07:07 +0100
commite22ce9404c146daf90e5f32921cf9b043101e56a (patch)
tree8695c7215134e0182328266287d0171fb9e8f6ac /src
parentUpdate Fire.h (diff)
downloadre3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar.gz
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar.bz2
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar.lz
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar.xz
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.tar.zst
re3-e22ce9404c146daf90e5f32921cf9b043101e56a.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/Fire.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp
index f46137f2..95856a0f 100644
--- a/src/core/Fire.cpp
+++ b/src/core/Fire.cpp
@@ -37,12 +37,6 @@ CFire::CFire()
CFire::~CFire() {}
-class CFire_ : public CFire {
-public:
- void ctor() { ::new(this) CFire(); }
- void dtor() { CFire::CFire(); }
-};
-
void
CFire::ProcessFire(void)
{
@@ -444,8 +438,6 @@ CFireManager::SetScriptFireAudio(int16 index, bool state)
}
STARTPATCHES
- InjectHook(0x479220, &CFire_::ctor, PATCH_JUMP);
- InjectHook(0x479280, &CFire_::dtor, PATCH_JUMP);
InjectHook(0x4798D0, &CFire::ProcessFire, PATCH_JUMP);
InjectHook(0x4798B0, &CFire::ReportThisFire, PATCH_JUMP);
InjectHook(0x479D40, &CFire::Extinguish, PATCH_JUMP);