diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-02 22:48:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 22:48:17 +0200 |
commit | 4448156e29c1c2dc6db476bbde53926efdba7331 (patch) | |
tree | 4be7e31e00dacbdfb2a6fadfd414aab0eaf64c39 /src/entities/Entity.h | |
parent | Ceil health and armor values in hud (fix 99 health) (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.gz re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.bz2 re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.lz re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.xz re3-4448156e29c1c2dc6db476bbde53926efdba7331.tar.zst re3-4448156e29c1c2dc6db476bbde53926efdba7331.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Entity.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h index 15a7a602..dbe2c08b 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -98,7 +98,12 @@ public: eEntityStatus GetStatus() const { return (eEntityStatus)m_status; } void SetStatus(eEntityStatus status) { m_status = status; } CColModel *GetColModel(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel(); } +#ifdef COMPATIBLE_SAVES + void SaveEntityFlags(uint8*& buf); + void LoadEntityFlags(uint8*& buf); +#else uint32* GetAddressOfEntityProperties() { /* AWFUL */ return (uint32*)((char*)&m_rwObject + sizeof(m_rwObject)); } +#endif CEntity(void); ~CEntity(void); |