diff --git a/src/tracks/terrain_info.cpp b/src/tracks/terrain_info.cpp index db2c82865..bfb4edb4c 100644 --- a/src/tracks/terrain_info.cpp +++ b/src/tracks/terrain_info.cpp @@ -32,6 +32,7 @@ TerrainInfo::TerrainInfo() { m_last_material = NULL; + m_material = NULL; } // TerrainInfo //-----------------------------------------------------------------------------