fix warnings

This commit is contained in:
Glenn Maynard
2004-04-05 22:43:16 +00:00
parent 99a3eeb659
commit 673dfb6b75
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ void RageModelGeometry::OptimizeBones()
// check to see if all vertices have the same bone index
bool bAllVertsUseSameBone = true;
char nBoneIndex = !mesh.Vertices.empty() ? mesh.Vertices[0].boneIndex : -1;
char nBoneIndex = !mesh.Vertices.empty() ? mesh.Vertices[0].boneIndex : (char) -1;
if( nBoneIndex != -1 )
{
for (unsigned j = 1; j < mesh.Vertices.size(); j++)