forked from mirror/openmw-tes3mp
fix uninitialized (pointer) vars in more classes
This commit is contained in:
parent
13a0c5624c
commit
8361019456
3 changed files with 4 additions and 2 deletions
|
@ -20,10 +20,9 @@ using namespace Ogre;
|
||||||
using namespace MWRender;
|
using namespace MWRender;
|
||||||
|
|
||||||
Shadows::Shadows(OEngine::Render::OgreRenderer* rend) :
|
Shadows::Shadows(OEngine::Render::OgreRenderer* rend) :
|
||||||
|
mRendering(rend), mSceneMgr(rend->getScene()), mPSSMSetup(NULL),
|
||||||
mShadowFar(1000), mFadeStart(0.9)
|
mShadowFar(1000), mFadeStart(0.9)
|
||||||
{
|
{
|
||||||
mRendering = rend;
|
|
||||||
mSceneMgr = mRendering->getScene();
|
|
||||||
recreate();
|
recreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ BillboardObject::BillboardObject( const String& textureName,
|
||||||
}
|
}
|
||||||
|
|
||||||
BillboardObject::BillboardObject()
|
BillboardObject::BillboardObject()
|
||||||
|
: mNode(NULL), mMaterial(NULL), mEntity(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -222,6 +223,7 @@ SkyManager::SkyManager(Ogre::SceneNode *root, Ogre::Camera *pCamera)
|
||||||
, mCloudOpacity(0.0f)
|
, mCloudOpacity(0.0f)
|
||||||
, mCloudSpeed(0.0f)
|
, mCloudSpeed(0.0f)
|
||||||
, mStarsOpacity(0.0f)
|
, mStarsOpacity(0.0f)
|
||||||
|
, mLightning(NULL)
|
||||||
, mRemainingTransitionTime(0.0f)
|
, mRemainingTransitionTime(0.0f)
|
||||||
, mGlareFade(0.0f)
|
, mGlareFade(0.0f)
|
||||||
, mGlare(0.0f)
|
, mGlare(0.0f)
|
||||||
|
|
|
@ -590,6 +590,7 @@ namespace MWWorld
|
||||||
typedef SharedIterator<ESM::Cell> iterator;
|
typedef SharedIterator<ESM::Cell> iterator;
|
||||||
|
|
||||||
Store<ESM::Cell>()
|
Store<ESM::Cell>()
|
||||||
|
: mEsmStore(NULL)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
const ESM::Cell *search(const std::string &id) const {
|
const ESM::Cell *search(const std::string &id) const {
|
||||||
|
|
Loading…
Reference in a new issue