mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
tested out and commented out some new stuff for the terrain generator, to be used in the future.
This commit is contained in:
parent
664eb4f7c5
commit
ffb1128951
5 changed files with 314 additions and 29 deletions
|
@ -565,7 +565,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
|
|||
Block is not near ground level if night-time mesh
|
||||
doesn't differ from day-time mesh.
|
||||
*/
|
||||
if(d >= 3)
|
||||
if(d > 3)
|
||||
{
|
||||
if(block->dayNightDiffed() == false)
|
||||
continue;
|
||||
|
@ -4035,6 +4035,8 @@ void setCreativeInventory(Player *player)
|
|||
|
||||
v3f findSpawnPos(ServerMap &map)
|
||||
{
|
||||
//return v3f(50,50,50)*BS;
|
||||
|
||||
v2s16 nodepos;
|
||||
s16 groundheight = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue