]> git.lizzy.rs Git - minetest.git/blobdiff - src/server.h
Add limit parameter to decompressZlib
[minetest.git] / src / server.h
index f017331799515a1cc1ca2f53dffb43d4085cac31..d61840871b933d6afa9b1cf84f45d4be52f58909 100644 (file)
@@ -189,7 +189,7 @@ class Server : public con::PeerHandler, public MapEventReceiver,
                This is accessed by the map, which is inside the environment,
                so it shouldn't be a problem.
        */
-       void onMapEditEvent(MapEditEvent *event);
+       void onMapEditEvent(const MapEditEvent &event);
 
        /*
                Shall be called with the environment and the connection locked.