summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/BaseModelInfo.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:30:35 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-08 21:30:35 +0100
commit39a121351de14f193f2f4efcbaef368d80ccfba9 (patch)
tree7fa767968e8e838b68894ff21c284c5f6c9338dc /src/modelinfo/BaseModelInfo.h
parent.ini for scaling, radar, sprites (diff)
parentUse original names (diff)
downloadre3-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 '')
-rw-r--r--src/modelinfo/BaseModelInfo.h4
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; }