mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-07 15:20:33 +00:00
small fixes
This commit is contained in:
parent
3ae10c93ac
commit
a8f1505517
4 changed files with 15 additions and 3 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue