uninitialized variables-environment and forrest

This commit is contained in:
AzaezelX 2020-05-11 14:56:04 -05:00
parent 2c1508c169
commit 1efb687867
20 changed files with 74 additions and 34 deletions

View file

@ -629,6 +629,11 @@ MeshRoad::MeshRoad()
mMatInst[Bottom] = NULL;
mMatInst[Side] = NULL;
mTypeMask |= TerrainLikeObjectType;
for (U32 i = 0; i < SurfaceCount; i++)
{
mVertCount[i] = 0;
mTriangleCount[i] = 0;
}
}
MeshRoad::~MeshRoad()