]> git.lizzy.rs Git - minetest.git/blobdiff - src/mapnode.h
Display Lua memory usage at the time of Out-of-Memory error
[minetest.git] / src / mapnode.h
index b7d9f3acd6741ec1fab27a8534104fc0ad7ac46d..7cc25c60cfabde4b70036e1b80667ad67f69ebad 100644 (file)
@@ -217,7 +217,7 @@ struct MapNode
         * @pre f != NULL
         * @pre f->param_type == CPT_LIGHT
         */
-       u8 getLightNoChecks(LightBank bank, const ContentFeatures *f);
+       u8 getLightNoChecks(LightBank bank, const ContentFeatures *f) const;
 
        bool getLightBanks(u8 &lightday, u8 &lightnight, INodeDefManager *nodemgr) const;