1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Drop less performant Server::setBlockNotSent for ClientInterface::markBlockposAsNotSent

This commit is contained in:
Loic Blot 2018-03-08 22:58:43 +01:00 committed by Loïc Blot
parent b592c52f1c
commit 6036f865cb
4 changed files with 17 additions and 20 deletions

View file

@ -401,7 +401,6 @@ private:
void sendAddNode(v3s16 p, MapNode n, u16 ignore_id=0,
std::vector<u16> *far_players=NULL, float far_d_nodes=100,
bool remove_metadata=true);
void setBlockNotSent(v3s16 p);
// Environment and Connection must be locked when called
void SendBlockNoLock(session_t peer_id, MapBlock *block, u8 ver, u16 net_proto_version);