2019-06-30 06:59:55 -04:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "CopPed.h"
|
|
|
|
|
|
|
|
CCopPed::~CCopPed()
|
|
|
|
{
|
|
|
|
ClearPursuit();
|
|
|
|
}
|
|
|
|
|
|
|
|
WRAPPER void CCopPed::ClearPursuit(void) { EAXJMP(0x4C28C0); }
|
|
|
|
|
2019-07-08 02:46:42 -04:00
|
|
|
class CCopPed_ : public CCopPed
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void dtor(void) { CCopPed::~CCopPed(); }
|
|
|
|
};
|
|
|
|
|
2019-06-30 06:59:55 -04:00
|
|
|
STARTPATCHES
|
2019-07-08 02:46:42 -04:00
|
|
|
InjectHook(0x4C13E0, &CCopPed_::dtor, PATCH_JUMP);
|
|
|
|
ENDPATCHES
|