diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:13:32 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-12 11:13:32 +0200 |
commit | e71b000cc5661f300ed761844bff54fae2865c4e (patch) | |
tree | 7f2386e5a9dac9320a9c8c4d05c6f696786edbb6 /src/modelinfo/BaseModelInfo.h | |
parent | scene init (diff) | |
parent | obviously forgot about it (diff) | |
download | re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.gz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.bz2 re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.lz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.xz re3-e71b000cc5661f300ed761844bff54fae2865c4e.tar.zst re3-e71b000cc5661f300ed761844bff54fae2865c4e.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; |