summaryrefslogtreecommitdiffstats
path: root/src/entities/Building.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-19 23:41:43 +0200
committeraap <aap@papnet.eu>2019-06-20 00:12:12 +0200
commit2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7 (patch)
tree1402bf32292b0ec260777d32f1f1069e41a37b67 /src/entities/Building.h
parentimplemented CObjectData (diff)
downloadre3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.gz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.bz2
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.lz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.xz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.zst
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Building.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/Building.h b/src/entities/Building.h
index 612e0fb3..7b837f46 100644
--- a/src/entities/Building.h
+++ b/src/entities/Building.h
@@ -5,7 +5,6 @@
class CBuilding : public CEntity
{
public:
- // TODO: ReplaceWithNewModel
CBuilding(void) {
m_type = ENTITY_TYPE_BUILDING;
bUsesCollision = true;
@@ -13,6 +12,8 @@ public:
static void *operator new(size_t);
static void operator delete(void*, size_t);
+ void ReplaceWithNewModel(int32 id);
+
virtual bool GetIsATreadable(void) { return false; }
};
static_assert(sizeof(CBuilding) == 0x64, "CBuilding: error");