mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 01:23:52 +00:00
uninitialized variables-environment and forrest
This commit is contained in:
parent
2c1508c169
commit
1efb687867
20 changed files with 74 additions and 34 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue