1 2 3 4 5 6 7 8 9 10 11 12 13
#include "common.h" #include "patcher.h" #include "Projectile.h" class CProjectile_ : public CProjectile { public: void dtor(void) { CProjectile::~CProjectile(); } }; STARTPATCHES InjectHook(0x4BFED0, &CProjectile_::dtor, PATCH_JUMP); ENDPATCHES