]> git.lizzy.rs Git - minetest.git/blobdiff - src/activeobject.h
Server configuration is now written when "/#setting whatever = whatever" is issued.
[minetest.git] / src / activeobject.h
index 1a16aa0c43b5a890c7d2585e66d44c7804607b68..09ee23a14c61bec788c2a9e8d9cabd8c14b25698 100644 (file)
@@ -23,6 +23,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "common_irrlicht.h"
 #include <string>
 
+#define ACTIVEOBJECT_TYPE_INVALID 0
+// Other types are defined in content_object.h
+
 struct ActiveObjectMessage
 {
        ActiveObjectMessage(u16 id_, bool reliable_=true, std::string data_=""):
@@ -36,9 +39,6 @@ struct ActiveObjectMessage
        std::string datastring;
 };
 
-#define ACTIVEOBJECT_TYPE_INVALID 0
-#define ACTIVEOBJECT_TYPE_TEST 1
-
 /*
        Parent class for ServerActiveObject and ClientActiveObject
 */