diff options
author | Nikolay <nickvnuk@gmail.com> | 2020-12-19 19:15:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-19 19:15:52 +0300 |
commit | 867133e93d57dba5319bb13abeeb3f73bbaf6ae1 (patch) | |
tree | e16891b3bd62f38bc959c295ebeca1aa6b9952d7 /src/modelinfo | |
parent | 73d080bcc867a415e7ce55702c3aece799584553 (diff) | |
parent | b6298915ddbdd2d66b807fc2c58d0c825bea0a96 (diff) |
Merge pull request #891 from Nick007J/miami
merge master to miami
Diffstat (limited to 'src/modelinfo')
-rw-r--r-- | src/modelinfo/BaseModelInfo.h | 4 | ||||
-rw-r--r-- | src/modelinfo/ModelIndices.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index 3aa0857a..23ba5e66 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -58,9 +58,9 @@ public: bool DoesOwnColModel(void) { return m_bOwnsColModel; } void DeleteCollisionModel(void); void ClearTexDictionary(void) { m_txdSlot = -1; } - short GetObjectID(void) { return m_objectId; } + int16 GetObjectID(void) { return m_objectId; } void SetObjectID(int16 id) { m_objectId = id; } - short GetTxdSlot(void) { return m_txdSlot; } + int16 GetTxdSlot(void) { return m_txdSlot; } void AddRef(void); void RemoveRef(void); void SetTexDictionary(const char *name); diff --git a/src/modelinfo/ModelIndices.cpp b/src/modelinfo/ModelIndices.cpp index 056c3733..98c7fb38 100644 --- a/src/modelinfo/ModelIndices.cpp +++ b/src/modelinfo/ModelIndices.cpp @@ -3,7 +3,7 @@ #include "General.h" #include "ModelIndices.h" -#define X(name, var) int16 var; +#define X(name, var) int16 var = -1; MODELINDICES #undef X |