diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-11 20:01:39 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-11 20:01:39 +0200 |
commit | 38dee74a5aa6131d29147b121e78340de47f43a2 (patch) | |
tree | 0e6391c6061eb4d3fbbc02f0c3defd8c7c1b93c9 /src/modelinfo/BaseModelInfo.h | |
parent | fixed malloc/new (diff) | |
download | re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar.gz re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar.bz2 re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar.lz re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar.xz re3-38dee74a5aa6131d29147b121e78340de47f43a2.tar.zst re3-38dee74a5aa6131d29147b121e78340de47f43a2.zip |
Diffstat (limited to 'src/modelinfo/BaseModelInfo.h')
-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; |