diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-01-08 21:30:35 +0100 |
commit | 39a121351de14f193f2f4efcbaef368d80ccfba9 (patch) | |
tree | 7fa767968e8e838b68894ff21c284c5f6c9338dc /src/modelinfo/BaseModelInfo.h | |
parent | .ini for scaling, radar, sprites (diff) | |
parent | Use original names (diff) | |
download | re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.gz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.bz2 re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.lz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.xz re3-39a121351de14f193f2f4efcbaef368d80ccfba9.tar.zst re3-39a121351de14f193f2f4efcbaef368d80ccfba9.zip |
Diffstat (limited to 'src/modelinfo/BaseModelInfo.h')
-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 ae2b6668..3a94a83a 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -54,8 +54,8 @@ public: 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, 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; } |