summaryrefslogtreecommitdiffstats
path: root/src/entities/Entity.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-26 23:54:43 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-26 23:54:43 +0200
commit74fde1397e04fe78af0508789fdd1a7bf0e02799 (patch)
treea4c132e0f37121c6ebf199331f970cff80e7c57c /src/entities/Entity.h
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar.gz
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar.bz2
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar.lz
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar.xz
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.tar.zst
re3-74fde1397e04fe78af0508789fdd1a7bf0e02799.zip
Diffstat (limited to 'src/entities/Entity.h')
-rw-r--r--src/entities/Entity.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h
index ee9e6490..82a78779 100644
--- a/src/entities/Entity.h
+++ b/src/entities/Entity.h
@@ -91,7 +91,9 @@ public:
CReference *m_pFirstReference;
CColModel *GetColModel(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel(); }
+#ifndef COMPATIBLE_SAVES
uint32* GetAddressOfEntityProperties() { /* AWFUL */ return (uint32*)((char*)&m_rwObject + sizeof(m_rwObject)); }
+#endif
CEntity(void);
~CEntity(void);