Send Position packet on event, don't check it at each AsyncRunStep.
[oweals/minetest.git] / src / serverobject.h
index 96485d7a38123184aa72b5346499dcb2ed2a1269..878c37773e0fff64a7d025b8dee3a5af13a55898 100644 (file)
@@ -71,7 +71,7 @@ public:
        { return true; }
        
        // Create a certain type of ServerActiveObject
-       static ServerActiveObject* create(u8 type,
+       static ServerActiveObject* create(ActiveObjectType type,
                        ServerEnvironment *env, u16 id, v3f pos,
                        const std::string &data);