Remove patches

This commit is contained in:
Sergeanur 2020-04-17 16:31:11 +03:00
parent c8af08330a
commit 599164006a
174 changed files with 244 additions and 4689 deletions

View file

@ -1,5 +1,5 @@
#include "common.h"
#include "patcher.h"
#include "ShotInfo.h"
#include "Entity.h"
#include "Weapon.h"
@ -128,11 +128,4 @@ CShotInfo::Update()
if (!((CTimer::GetFrameCounter() + slot) & 3))
CWorld::SetCarsOnFire(shot.m_startPos.x, shot.m_startPos.y, shot.m_startPos.z, 4.0f, shot.m_sourceEntity);
}
}
STARTPATCHES
InjectHook(0x55BFF0, &CShotInfo::Update, PATCH_JUMP);
InjectHook(0x55BD70, &CShotInfo::AddShot, PATCH_JUMP);
InjectHook(0x55BC60, &CShotInfo::Initialise, PATCH_JUMP);
InjectHook(0x55BD50, &CShotInfo::Shutdown, PATCH_JUMP);
ENDPATCHES
}