1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings

This commit is contained in:
sweetbomber 2013-05-30 17:14:22 +01:00 committed by ShadowNinja
parent 000da6b25d
commit 22dbbf0a6f
5 changed files with 55 additions and 40 deletions

View file

@ -428,7 +428,7 @@ public:
void prepareBlock(MapBlock *block);
// Helper for placing objects on ground level
s16 findGroundLevel(v2s16 p2d);
s16 findGroundLevel(v2s16 p2d, bool cacheBlocks);
/*
Misc. helper functions for fiddling with directory and file