mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:53:52 +00:00
init pointer value to prevent segfault
This commit is contained in:
parent
dcccfd9f22
commit
a8b1706678
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ namespace MWRender
|
||||||
TerrainMaterial::Profile::Profile(Ogre::TerrainMaterialGenerator* parent, const Ogre::String& name, const Ogre::String& desc)
|
TerrainMaterial::Profile::Profile(Ogre::TerrainMaterialGenerator* parent, const Ogre::String& name, const Ogre::String& desc)
|
||||||
: Ogre::TerrainMaterialGenerator::Profile(parent, name, desc)
|
: Ogre::TerrainMaterialGenerator::Profile(parent, name, desc)
|
||||||
, mGlobalColourMap(false)
|
, mGlobalColourMap(false)
|
||||||
|
, mMaterial(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue