diff options
author | aap <aap@papnet.eu> | 2019-06-29 11:09:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-29 11:09:33 +0200 |
commit | b2f8c7eb23f9def86acb84ba2936041ded0db748 (patch) | |
tree | df7bda7922a10f05de1ca758a3fa463786ed28ea /src/entities/Dummy.h | |
parent | f2d1ceb0433ac553cb73beca8f820718ddef26c4 (diff) |
miscellaneous, mostly world related
Diffstat (limited to 'src/entities/Dummy.h')
-rw-r--r-- | src/entities/Dummy.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/entities/Dummy.h b/src/entities/Dummy.h index 034d4c57..4cfef2e2 100644 --- a/src/entities/Dummy.h +++ b/src/entities/Dummy.h @@ -9,9 +9,14 @@ public: CEntryInfoList m_entryInfoList; CDummy(void) { m_type = ENTITY_TYPE_DUMMY; } - // TODO: Add, Remove + void Add(void); + void Remove(void); static void *operator new(size_t); static void operator delete(void*, size_t); + + // to make patching virtual functions possible + void Add_(void) { CDummy::Add(); } + void Remove_(void) { CDummy::Remove(); } }; static_assert(sizeof(CDummy) == 0x68, "CDummy: error"); |