diff options
author | Lars Hofhansl <larsh@apache.org> | 2016-11-06 21:30:49 -0800 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-11-07 21:55:17 +0000 |
commit | 45eab340b90e54134a6f1cde3314c10cce08820b (patch) | |
tree | 4d858a51c277fe6f66d7b6b98d55cd8f26bd6aba | |
parent | 3c5da70d7cfafe52f286bbe9a36ea7c04e92bf9f (diff) | |
download | minetest-45eab340b90e54134a6f1cde3314c10cce08820b.tar.gz minetest-45eab340b90e54134a6f1cde3314c10cce08820b.tar.bz2 minetest-45eab340b90e54134a6f1cde3314c10cce08820b.zip |
Don't use reduced vertical limits for mapblock send and generation
-rw-r--r-- | src/clientiface.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp index 7dce77cd7..4b9efcb49 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -235,16 +235,6 @@ void RemoteClient::GetNextBlocks ( // If this is true, inexistent block will be made from scratch bool generate = d <= d_max_gen; - { - /*// Limit the generating area vertically to 2/3 - if(abs(p.Y - center.Y) > d_max_gen - d_max_gen / 3) - generate = false;*/ - - // Limit the send area vertically to 1/2 - if (abs(p.Y - center.Y) > full_d_max / 2) - continue; - } - /* Don't generate or send if not in sight FIXME This only works if the client uses a small enough |