Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't use reduced vertical limits for mapblock send and generation
  • Loading branch information
lhofhansl authored and paramat committed Nov 7, 2016
1 parent 3c5da70 commit 45eab34
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/clientiface.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 45eab34

Please sign in to comment.