Skip to content

Commit 45eab34

Browse files
lhofhanslparamat
authored andcommittedNov 7, 2016
Don't use reduced vertical limits for mapblock send and generation
1 parent 3c5da70 commit 45eab34

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

Diff for: ‎src/clientiface.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -235,16 +235,6 @@ void RemoteClient::GetNextBlocks (
235235
// If this is true, inexistent block will be made from scratch
236236
bool generate = d <= d_max_gen;
237237

238-
{
239-
/*// Limit the generating area vertically to 2/3
240-
if(abs(p.Y - center.Y) > d_max_gen - d_max_gen / 3)
241-
generate = false;*/
242-
243-
// Limit the send area vertically to 1/2
244-
if (abs(p.Y - center.Y) > full_d_max / 2)
245-
continue;
246-
}
247-
248238
/*
249239
Don't generate or send if not in sight
250240
FIXME This only works if the client uses a small enough

0 commit comments

Comments
 (0)