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

@ -82,15 +82,16 @@ CloudLayer::CloudLayer()
mTypeMask |= EnvironmentObjectType | StaticObjectType;
mNetFlags.set(Ghostable | ScopeAlways);
mModelViewProjSC =
mAmbientColorSC =
mSunColorSC =
mSunVecSC =
mTexScaleSC =
mBaseColorSC =
mCoverageSC =
mExposureSC =
mEyePosWorldSC = 0;
mModelViewProjSC = NULL;
mAmbientColorSC = NULL;
mSunColorSC = NULL;
mSunVecSC = NULL;
mTexScaleSC = NULL;
mBaseColorSC = NULL;
mCoverageSC = NULL;
mExposureSC = NULL;
mEyePosWorldSC = NULL;
mNormalHeightMapSC = NULL;
mTexOffsetSC[0] = mTexOffsetSC[1] = mTexOffsetSC[2] = 0;