diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-18 16:30:51 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-18 16:30:51 +0200 |
commit | d7789661cda9c07988834aa9c6c53d5cee888612 (patch) | |
tree | b17c3aa13c73ea0f21d645962dccea83486d9dc7 /src/entities/Entity.h | |
parent | fix in ped attractor (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.gz re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.bz2 re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.lz re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.xz re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.zst re3-d7789661cda9c07988834aa9c6c53d5cee888612.zip |
Diffstat (limited to 'src/entities/Entity.h')
-rw-r--r-- | src/entities/Entity.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/Entity.h b/src/entities/Entity.h index fbf5cb3b..08d1900a 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -104,7 +104,8 @@ public: eEntityStatus GetStatus() const { return (eEntityStatus)m_status; } void SetStatus(eEntityStatus status) { m_status = status; } CColModel *GetColModel(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel(); } - bool IsStatic(void) { return bIsStatic || bIsStaticWaitingForCollision; } + bool GetIsStatic(void) const { return bIsStatic || bIsStaticWaitingForCollision; } + void SetIsStatic(bool state) { bIsStatic = state; } #ifdef COMPATIBLE_SAVES void SaveEntityFlags(uint8*& buf); void LoadEntityFlags(uint8*& buf); |