2019-06-30 06:59:55 -04:00
|
|
|
#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); }
|
|
|
|
|
2019-07-08 02:46:42 -04:00
|
|
|
class CTrain_ : public CTrain
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void dtor(void) { CTrain::~CTrain(); }
|
|
|
|
};
|
|
|
|
|
2019-06-30 06:59:55 -04:00
|
|
|
STARTPATCHES
|
2019-07-08 02:46:42 -04:00
|
|
|
InjectHook(0x54E450, &CTrain_::dtor, PATCH_JUMP);
|
|
|
|
ENDPATCHES
|