summaryrefslogblamecommitdiffstats
path: root/src/vehicles/Train.cpp
blob: b7fd6ca17019dfb43c909260122b5a8fdd94a7c2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                              





                                              
            

                                                         
#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); }

class CTrain_ : public CTrain
{
public:
	void dtor(void) { CTrain::~CTrain(); }
};

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