]> git.lizzy.rs Git - minetest.git/blobdiff - src/serverobject.h
Prevent SIGFPE on entity tile loading issue. (#5178)
[minetest.git] / src / serverobject.h
index 26c8b062d61f63a2e28245acc2a5f89357f810ca..38204980e439b57beda6722863a6d16d73166c97 100644 (file)
@@ -119,7 +119,7 @@ class ServerActiveObject : public ActiveObject
                when it is created (converted from static to active - actually
                the data is the static form)
        */
-       virtual void getStaticData(std::string *result)
+       virtual void getStaticData(std::string *result) const
        {
                assert(isStaticAllowed());
                *result = "";