1
0
Fork 0
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:
Perttu Ahola 2011-04-26 15:38:42 +03:00
parent 664eb4f7c5
commit ffb1128951
5 changed files with 314 additions and 29 deletions

View file

@ -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;