uninitialized variables-terrain

This commit is contained in:
AzaezelX 2020-05-11 15:37:43 -05:00
parent fabd5864fa
commit c2e74f375a
6 changed files with 28 additions and 4 deletions

View file

@ -58,7 +58,11 @@ TerrCell::TerrCell()
mHasEmpty( false ),
mMaterial( NULL ),
mMaterials( 0 ),
mIsInteriorOnly( false )
mIsInteriorOnly( false ),
mSize(smMinCellSize),
mLevel(0),
mTerrain(NULL),
mRadius(0.5f)
{
dMemset( mChildren, 0, sizeof( mChildren ) );
zode_vertexBuffer = 0;