diff options
author | aap <aap@papnet.eu> | 2019-06-30 13:03:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-30 13:03:04 +0200 |
commit | ffb9fe188c6c58e22683dbc669c1e142a2feb166 (patch) | |
tree | 7e3436ed3945245fca67127d00e0ccfee6d31239 /src/entities/Treadable.cpp | |
parent | fix (diff) | |
parent | PlayBackThisFrameInterpolation and all it required... (diff) | |
download | re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.gz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.bz2 re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.lz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.xz re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.tar.zst re3-ffb9fe188c6c58e22683dbc669c1e142a2feb166.zip |
Diffstat (limited to 'src/entities/Treadable.cpp')
-rw-r--r-- | src/entities/Treadable.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entities/Treadable.cpp b/src/entities/Treadable.cpp index e2eca36a..230d1633 100644 --- a/src/entities/Treadable.cpp +++ b/src/entities/Treadable.cpp @@ -1,7 +1,12 @@ #include "common.h" +#include "patcher.h" #include "rpworld.h" #include "Treadable.h" #include "Pools.h" void *CTreadable::operator new(size_t sz) { return CPools::GetTreadablePool()->New(); } void CTreadable::operator delete(void *p, size_t sz) { CPools::GetTreadablePool()->Delete((CTreadable*)p); } + +STARTPATCHES + InjectHook(0x405A10, &CTreadable::dtor, PATCH_JUMP); +ENDPATCHES
\ No newline at end of file |