summaryrefslogtreecommitdiff
path: root/src/core/Fire.cpp
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/core/Fire.cpp
parent0605e704ca63d1cf57cb0f5e2c9d2dc0b18e0249 (diff)
Update Fire.cpp
Diffstat (limited to 'src/core/Fire.cpp')
-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);