summaryrefslogblamecommitdiffstats
path: root/src/peds/CopPed.cpp
blob: 0ac0473fd3201dc7021fb793f439f91148443c17 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                              





                                                
            

                                                          
#include "common.h"
#include "patcher.h"
#include "CopPed.h"

CCopPed::~CCopPed()
{
	ClearPursuit();
}

WRAPPER void CCopPed::ClearPursuit(void) { EAXJMP(0x4C28C0); }

class CCopPed_ : public CCopPed
{
public:
	void dtor(void) { CCopPed::~CCopPed(); }
};

STARTPATCHES
	InjectHook(0x4C13E0, &CCopPed_::dtor, PATCH_JUMP);
ENDPATCHES