summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-24 22:06:14 +0200
committeraap <aap@papnet.eu>2019-06-24 22:06:14 +0200
commit3b43c0957893e06f832f2097225ae83b09f86199 (patch)
tree421a6083b469dbce38531a128db1f5dd5a5a6174 /src/entities/Entity.h
parentfixed bug in CPlaceable (diff)
downloadre3-3b43c0957893e06f832f2097225ae83b09f86199.tar
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.gz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.bz2
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.lz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.xz
re3-3b43c0957893e06f832f2097225ae83b09f86199.tar.zst
re3-3b43c0957893e06f832f2097225ae83b09f86199.zip
Diffstat (limited to 'src/entities/Entity.h')
-rw-r--r--src/entities/Entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h
index 0ce47428..8816e206 100644
--- a/src/entities/Entity.h
+++ b/src/entities/Entity.h
@@ -155,6 +155,7 @@ public:
// to make patching virtual functions possible
+ CEntity *ctor(void) { return ::new (this) CEntity(); }
void Add_(void) { CEntity::Add(); }
void Remove_(void) { CEntity::Remove(); }
void CreateRwObject_(void) { CEntity::CreateRwObject(); }