diff options
author | sfan5 <sfan5@live.de> | 2019-08-07 10:31:12 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-08-07 11:32:16 +0200 |
commit | 19426387d4b1bb3b96094cdab97452c2e248f47d (patch) | |
tree | e696a23e98be0bbd2c3b16966e02c8e87e3c8b0c /src/client/client.h | |
parent | 4d7f2967172c5a358811ac1f24115b281eff2431 (diff) | |
download | minetest-19426387d4b1bb3b96094cdab97452c2e248f47d.tar.gz minetest-19426387d4b1bb3b96094cdab97452c2e248f47d.tar.bz2 minetest-19426387d4b1bb3b96094cdab97452c2e248f47d.zip |
Optimize usage of TOSERVER_GOTBLOCKS packet
Diffstat (limited to 'src/client/client.h')
-rw-r--r-- | src/client/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.h b/src/client/client.h index 312b8c87f..527ae6524 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -465,7 +465,7 @@ private: void promptConfirmRegistration(AuthMechanism chosen_auth_mechanism); void startAuth(AuthMechanism chosen_auth_mechanism); void sendDeletedBlocks(std::vector<v3s16> &blocks); - void sendGotBlocks(v3s16 block); + void sendGotBlocks(const std::vector<v3s16> &blocks); void sendRemovedSounds(std::vector<s32> &soundList); // Helper function |