summaryrefslogtreecommitdiffstats
path: root/src/entities/Building.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/Building.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 '')
-rw-r--r--src/entities/Building.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Building.h b/src/entities/Building.h
index 7b837f46..b1f96bae 100644
--- a/src/entities/Building.h
+++ b/src/entities/Building.h
@@ -15,5 +15,7 @@ public:
void ReplaceWithNewModel(int32 id);
virtual bool GetIsATreadable(void) { return false; }
+
+ CBuilding *ctor(void) { return ::new (this) CBuilding(); }
};
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");