1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 13:20:00 +00:00

Update Fire.cpp

This commit is contained in:
blingu 2020-03-25 21:07:07 +01:00 committed by GitHub
parent 0605e704ca
commit e22ce9404c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,12 +37,6 @@ CFire::CFire()
CFire::~CFire() {} CFire::~CFire() {}
class CFire_ : public CFire {
public:
void ctor() { ::new(this) CFire(); }
void dtor() { CFire::CFire(); }
};
void void
CFire::ProcessFire(void) CFire::ProcessFire(void)
{ {
@ -444,8 +438,6 @@ CFireManager::SetScriptFireAudio(int16 index, bool state)
} }
STARTPATCHES STARTPATCHES
InjectHook(0x479220, &CFire_::ctor, PATCH_JUMP);
InjectHook(0x479280, &CFire_::dtor, PATCH_JUMP);
InjectHook(0x4798D0, &CFire::ProcessFire, PATCH_JUMP); InjectHook(0x4798D0, &CFire::ProcessFire, PATCH_JUMP);
InjectHook(0x4798B0, &CFire::ReportThisFire, PATCH_JUMP); InjectHook(0x4798B0, &CFire::ReportThisFire, PATCH_JUMP);
InjectHook(0x479D40, &CFire::Extinguish, PATCH_JUMP); InjectHook(0x479D40, &CFire::Extinguish, PATCH_JUMP);