From a1ac99463fff5440235d01e041111d053b2efff6 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 24 Jan 2014 22:52:04 +0100 Subject: [PATCH] Fix an uninitialized value --- components/terrain/quadtreenode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/terrain/quadtreenode.cpp b/components/terrain/quadtreenode.cpp index 02225cb02d..7fc452fbf4 100644 --- a/components/terrain/quadtreenode.cpp +++ b/components/terrain/quadtreenode.cpp @@ -433,6 +433,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect area) LayerInfo info; info.mDiffuseMap = "textures\\_land_default.dds"; info.mParallax = false; + info.mSpecular = false; layer.push_back(info); matGen.setLayerList(layer); makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr()));