diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-08 20:53:11 +0100 |
commit | faa9e6441bc4b02362620d0cf599a8513744f4cc (patch) | |
tree | b26eccf8fbbda2a4af0b7f0b3cdacdb6c4253cef /src/modelinfo/BaseModelInfo.h | |
parent | Add multisampling (diff) | |
download | re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.gz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.bz2 re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.lz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.xz re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.tar.zst re3-faa9e6441bc4b02362620d0cf599a8513744f4cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/modelinfo/BaseModelInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index 23ba5e66..a4906fc9 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -50,8 +50,8 @@ public: bool IsBuilding(void) { return m_type == MITYPE_SIMPLE || m_type == MITYPE_TIME; } bool IsSimple(void) { return m_type == MITYPE_SIMPLE || m_type == MITYPE_TIME || m_type == MITYPE_WEAPON; } bool IsClump(void) { return m_type == MITYPE_CLUMP || m_type == MITYPE_PED || m_type == MITYPE_VEHICLE; } - char *GetName(void) { return m_name; } - void SetName(const char *name) { strncpy(m_name, name, MAX_MODEL_NAME); } + char *GetModelName(void) { return m_name; } + void SetModelName(const char *name) { strncpy(m_name, name, MAX_MODEL_NAME); } void SetColModel(CColModel *col, bool owns = false){ m_colModel = col; m_bOwnsColModel = owns; } CColModel *GetColModel(void) { return m_colModel; } |