diff options
| author | aap <aap@papnet.eu> | 2020-05-07 21:56:09 +0200 |
|---|---|---|
| committer | aap <aap@papnet.eu> | 2020-05-07 21:56:09 +0200 |
| commit | a8f1505517f1baf061fe6b545906eaed09f851b8 (patch) | |
| tree | 85a74573ba1184a384785181da42bb6e1160e16d /src/modelinfo/BaseModelInfo.h | |
| parent | Merge branch 'master' of github.com:GTAmodding/re3 (diff) | |
| download | re3-a8f1505517f1baf061fe6b545906eaed09f851b8.tar.gz | |
small fixes
Diffstat (limited to 'src/modelinfo/BaseModelInfo.h')
| -rw-r--r-- | src/modelinfo/BaseModelInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index 9f828e7f..fdf1efb6 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -48,7 +48,7 @@ public: 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 SetName(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; } |
