diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-11 21:01:39 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-11 21:01:39 +0300 |
commit | 38dee74a5aa6131d29147b121e78340de47f43a2 (patch) | |
tree | 0e6391c6061eb4d3fbbc02f0c3defd8c7c1b93c9 /src/modelinfo | |
parent | 1c0c0a046842c0b937a07e5a957950faf54611af (diff) |
CPools
Diffstat (limited to 'src/modelinfo')
-rw-r--r-- | src/modelinfo/BaseModelInfo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index a9bafb64..0c4bf934 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -2,6 +2,8 @@ #include "Collision.h" +#define MAX_MODEL_NAME (24) + enum ModeInfoType : uint8 { MITYPE_NA = 0, @@ -21,7 +23,7 @@ class CBaseModelInfo { protected: // TODO?: make more things protected - char m_name[24]; + char m_name[MAX_MODEL_NAME]; CColModel *m_colModel; C2dEffect *m_twodEffects; int16 m_objectId; |