mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
uninitialized variables-terrain
This commit is contained in:
parent
fabd5864fa
commit
c2e74f375a
6 changed files with 28 additions and 4 deletions
|
|
@ -167,13 +167,20 @@ S32 sFaceList135[16][9] = {
|
|||
|
||||
TerrainConvex::TerrainConvex()
|
||||
{
|
||||
halfA = true;
|
||||
square = NULL;
|
||||
squareId = 0;
|
||||
material = 0;
|
||||
split45 = false;
|
||||
|
||||
mType = TerrainConvexType;
|
||||
}
|
||||
|
||||
TerrainConvex::TerrainConvex( const TerrainConvex &cv )
|
||||
{
|
||||
mType = TerrainConvexType;
|
||||
|
||||
halfA = false;
|
||||
square = NULL;
|
||||
// Only a partial copy...
|
||||
mObject = cv.mObject;
|
||||
split45 = cv.split45;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue