summaryrefslogtreecommitdiffstats
path: root/src/peds/CopPed.cpp
blob: 041185eea6dcbcbdd53a2070f50c0da1c774c443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "common.h"
#include "patcher.h"
#include "CopPed.h"

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

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

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