diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-16 09:27:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-16 09:27:11 +0400 |
commit | fb4ad50cee70931ca390bb82a63c394ffef4d624 (patch) | |
tree | 4de5f04294f8a01bf90b1a8b40c0a3c6f0a87110 /source/gameengine/Rasterizer | |
parent | dc8b2197266899bd82bc0b625fd7aba0d8efe252 (diff) |
use defines for property name lenghths in the BGE, were using 31,32,64,100.
Diffstat (limited to 'source/gameengine/Rasterizer')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_TexVert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_TexVert.cpp b/source/gameengine/Rasterizer/RAS_TexVert.cpp index 18a987a332a..1e8630c72d8 100644 --- a/source/gameengine/Rasterizer/RAS_TexVert.cpp +++ b/source/gameengine/Rasterizer/RAS_TexVert.cpp @@ -104,7 +104,7 @@ void RAS_TexVert::SetFlag(const short flag) void RAS_TexVert::SetUnit(const unsigned int u) { - m_unit = u<=MAX_UNIT?u:MAX_UNIT; + m_unit = u <= (unsigned int) MAX_UNIT ? u: (unsigned int)MAX_UNIT; } void RAS_TexVert::SetNormal(const MT_Vector3& normal) |