Browse Source

Merge pull request #759 from sgrenier/next

Terrain test updates
Steve Grenier 13 years ago
parent
commit
5d9363c132
2 changed files with 6 additions and 0 deletions
  1. 4 0
      gameplay/src/TerrainPatch.cpp
  2. 2 0
      gameplay/src/TerrainPatch.h

+ 4 - 0
gameplay/src/TerrainPatch.cpp

@@ -667,6 +667,10 @@ TerrainPatch::Layer::~Layer()
 {
 }
 
+TerrainPatch::Level::Level() : model(NULL)
+{
+}
+
 bool TerrainPatch::LayerCompare::operator() (const Layer* lhs, const Layer* rhs) const
 {
     return (lhs->index < rhs->index);

+ 2 - 0
gameplay/src/TerrainPatch.h

@@ -41,6 +41,8 @@ private:
     struct Level
     {
         Model* model;
+
+        Level();
     };
 
     struct LayerCompare