cleaned up patching of virtual functions; started CAutomobile
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
#include "patcher.h"
|
||||
#include "Projectile.h"
|
||||
|
||||
class CProjectile_ : public CProjectile
|
||||
{
|
||||
public:
|
||||
void dtor(void) { CProjectile::~CProjectile(); }
|
||||
};
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x4BFED0, &CProjectile::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
InjectHook(0x4BFED0, &CProjectile_::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
||||
|
||||
Reference in New Issue
Block a user