]> git.lizzy.rs Git - minetest.git/blobdiff - src/environment.h
Create node metadata when placing nodes again
[minetest.git] / src / environment.h
index f8df77f79cfa937b612f66dc58ec2d636d951433..89c9fd67640a63771d1e955661bc4f26235f6e3b 100644 (file)
@@ -39,6 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "activeobject.h"
 
 class Server;
+class ServerEnvironment;
 class ActiveBlockModifier;
 class ServerActiveObject;
 typedef struct lua_State lua_State;
@@ -129,10 +130,7 @@ struct ABMWithState
        ActiveBlockModifier *abm;
        float timer;
 
-       ABMWithState(ActiveBlockModifier *abm_):
-               abm(abm_),
-               timer(0)
-       {}
+       ABMWithState(ActiveBlockModifier *abm_);
 };
 
 /*