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

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

WRAPPER CTrain* CTrain::ctor(int, uint8) { EAXJMP(0x54E2A0); }

STARTPATCHES
InjectHook(0x54E450, &CTrain::dtor, PATCH_JUMP);
ENDPATCHES