mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Don't use reduced vertical limits for mapblock send and generation
This commit is contained in:
parent
3c5da70d7c
commit
45eab340b9
1 changed files with 0 additions and 10 deletions
|
@ -235,16 +235,6 @@ void RemoteClient::GetNextBlocks (
|
||||||
// If this is true, inexistent block will be made from scratch
|
// If this is true, inexistent block will be made from scratch
|
||||||
bool generate = d <= d_max_gen;
|
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
|
Don't generate or send if not in sight
|
||||||
FIXME This only works if the client uses a small enough
|
FIXME This only works if the client uses a small enough
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue