projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5da70
)
Don't use reduced vertical limits for mapblock send and generation
author
Lars Hofhansl
<larsh@apache.org>
Mon, 7 Nov 2016 05:30:49 +0000
(21:30 -0800)
committer
paramat
<mat.gregory@virginmedia.com>
Mon, 7 Nov 2016 21:55:17 +0000
(21:55 +0000)
src/clientiface.cpp
patch
|
blob
|
history
diff --git
a/src/clientiface.cpp
b/src/clientiface.cpp
index 7dce77cd7cfe7e3801b12ed4ce3a8ddf0dd7d9f6..4b9efcb49959b4104697c6133a0b1bc91733f3bb 100644
(file)
--- 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