1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00

Fix an uninitialized value

This commit is contained in:
scrawl 2014-01-24 22:52:04 +01:00
parent 9b9c39af7a
commit a1ac99463f

View file

@ -433,6 +433,7 @@ void QuadTreeNode::prepareForCompositeMap(Ogre::TRect<float> area)
LayerInfo info; LayerInfo info;
info.mDiffuseMap = "textures\\_land_default.dds"; info.mDiffuseMap = "textures\\_land_default.dds";
info.mParallax = false; info.mParallax = false;
info.mSpecular = false;
layer.push_back(info); layer.push_back(info);
matGen.setLayerList(layer); matGen.setLayerList(layer);
makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr())); makeQuad(sceneMgr, area.left, area.top, area.right, area.bottom, matGen.generateForCompositeMapRTT(Ogre::MaterialPtr()));