1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Fix compile on certain Linux configurations, reduce spawn point height

This commit is contained in:
kwolekr 2013-01-18 16:35:34 -05:00 committed by Perttu Ahola
parent 278d93a3ee
commit 318669327e
2 changed files with 2 additions and 1 deletions

View file

@ -4879,7 +4879,7 @@ v3f findSpawnPos(ServerMap &map)
continue;
}
nodepos = v3s16(nodepos2d.X, groundheight+1, nodepos2d.Y);
nodepos = v3s16(nodepos2d.X, groundheight-2, nodepos2d.Y);
bool is_good = false;
s32 air_count = 0;
for(s32 i=0; i<10; i++){