init pointer value to prevent segfault

This commit is contained in:
greye 2013-05-03 10:51:42 +04:00
parent dcccfd9f22
commit a8b1706678

View file

@ -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)
{
}