diff options
author | aap <aap@papnet.eu> | 2019-06-17 10:30:02 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-17 22:40:15 +0200 |
commit | b5fba778c4a307f0a5721c9b3b0efb38be96634b (patch) | |
tree | 9fe0738d1d6dcf4677aac12e1efadff18887f7b4 /src/modelinfo/BaseModelInfo.h | |
parent | Merge pull request #20 from gennariarmando/master (diff) | |
download | re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.gz re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.bz2 re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.lz re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.xz re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.tar.zst re3-b5fba778c4a307f0a5721c9b3b0efb38be96634b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/BaseModelInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index fadea18a..b6c6c62e 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -41,6 +41,9 @@ public: virtual RwObject *GetRwObject(void) = 0; bool IsSimple(void) { return m_type == MITYPE_SIMPLE || m_type == MITYPE_TIME; } + bool IsClump(void) { return m_type == MITYPE_CLUMP || m_type == MITYPE_PED || m_type == MITYPE_VEHICLE || + m_type == MITYPE_MLO || m_type == MITYPE_XTRACOMPS; // unused but what the heck + } char *GetName(void) { return m_name; } void SetName(const char *name) { strncpy(m_name, name, 24); } void SetColModel(CColModel *col, bool free = false){ |