]> git.lizzy.rs Git - minetest.git/blobdiff - src/content_cao.h
shader.cpp: don't test twice if shader programs are present
[minetest.git] / src / content_cao.h
index d9145c5f12bc6042e022a5bff6dc1aa49dd7c16b..abb242aa4d5906e3a6654f3b189cd1d47bc1085d 100644 (file)
@@ -201,6 +201,11 @@ class GenericCAO : public ClientActiveObject
                        float time_from_last_punch=1000000);
 
        std::string debugInfoText();
+       
+       std::string infoText()
+       {
+               return m_prop.infotext;
+       }
 };