summaryrefslogtreecommitdiffstats
path: root/src/entities/Automobile.cpp
blob: e74013be10bc7b5fc656bee407292d15e5bdc443 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "common.h"
#include "patcher.h"
#include "Automobile.h"

CAutomobile::CAutomobile(int mi, uint8 owner)
{
	ctor(mi, owner);
}

WRAPPER CAutomobile* CAutomobile::ctor(int, uint8) { EAXJMP(0x52C6B0); }

WRAPPER void CAutomobile::SetDoorDamage(int32, uint32, bool) { EAXJMP(0x530200); }

STARTPATCHES
InjectHook(0x52D170, &CAutomobile::dtor, PATCH_JUMP);
ENDPATCHES