forked from mirror/openmw-tes3mp
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)
|
||||
: Ogre::TerrainMaterialGenerator::Profile(parent, name, desc)
|
||||
, mGlobalColourMap(false)
|
||||
, mMaterial(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue