X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Factiveobject.h;h=09ee23a14c61bec788c2a9e8d9cabd8c14b25698;hb=cdadbdbd17d624dd45cca67f41309cbe776dc348;hp=1a16aa0c43b5a890c7d2585e66d44c7804607b68;hpb=e4f7f97e6c79cda72dec7cd6fea5b85328b75894;p=minetest.git diff --git a/src/activeobject.h b/src/activeobject.h index 1a16aa0c4..09ee23a14 100644 --- a/src/activeobject.h +++ b/src/activeobject.h @@ -23,6 +23,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common_irrlicht.h" #include +#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 */