diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-30 12:59:55 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-30 12:59:55 +0200 |
commit | e2bd3573b4d44b8f80197d8de98fcfc91e2229b8 (patch) | |
tree | 7e3436ed3945245fca67127d00e0ccfee6d31239 /src/entities/Boat.cpp | |
parent | ProcessCarUpdate (diff) | |
download | re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.gz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.bz2 re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.lz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.xz re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.tar.zst re3-e2bd3573b4d44b8f80197d8de98fcfc91e2229b8.zip |
Diffstat (limited to 'src/entities/Boat.cpp')
-rw-r--r-- | src/entities/Boat.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/Boat.cpp b/src/entities/Boat.cpp new file mode 100644 index 00000000..076a910e --- /dev/null +++ b/src/entities/Boat.cpp @@ -0,0 +1,14 @@ +#include "common.h" +#include "patcher.h" +#include "Boat.h" + +CBoat::CBoat(int mi, uint8 owner) +{ + ctor(mi, owner); +} + +WRAPPER CBoat* CBoat::ctor(int, uint8) { EAXJMP(0x53E3E0); } + +STARTPATCHES +InjectHook(0x53E790, &CBoat::dtor, PATCH_JUMP); +ENDPATCHES
\ No newline at end of file |