diff --git a/src/graphics/material.cpp b/src/graphics/material.cpp index ad2be7b1a..821654cb1 100644 --- a/src/graphics/material.cpp +++ b/src/graphics/material.cpp @@ -137,7 +137,7 @@ Material::Material(const XMLNode *node, int index, bool deprecated) node->get("fog", &m_fog ); node->get("mask", &m_mask ); - + node->get("gloss-map", &m_gloss_map ); node->get("water-splash", &m_water_splash ); node->get("jump", &m_is_jump_texture ); node->get("has-gravity", &m_has_gravity ); diff --git a/src/graphics/material.hpp b/src/graphics/material.hpp index ab1ec0a17..7de754e6e 100644 --- a/src/graphics/material.hpp +++ b/src/graphics/material.hpp @@ -224,6 +224,8 @@ private: /** If m_splatting is true, indicates the fourth splatting texture */ std::string m_splatting_texture_4; + std::string m_gloss_map; + bool m_deprecated; void init (unsigned int index);