summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authortumultenrx <tumultenrx@gmail.com>2015-03-12 19:37:39 +0100
committertumultenrx <tumultenrx@gmail.com>2015-03-13 00:02:36 +0100
commita215070cf22472299a848111692dc1a864106a4f (patch)
treee2981f63e8a69d1c0d48d3eab926f35029e5027e /src/World.h
parentMerge pull request #1761 from mc-server/NetworkIPEnum (diff)
downloadcuberite-a215070cf22472299a848111692dc1a864106a4f.tar
cuberite-a215070cf22472299a848111692dc1a864106a4f.tar.gz
cuberite-a215070cf22472299a848111692dc1a864106a4f.tar.bz2
cuberite-a215070cf22472299a848111692dc1a864106a4f.tar.lz
cuberite-a215070cf22472299a848111692dc1a864106a4f.tar.xz
cuberite-a215070cf22472299a848111692dc1a864106a4f.tar.zst
cuberite-a215070cf22472299a848111692dc1a864106a4f.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 3cac71a36..0decc8c6e 100644
--- a/src/World.h
+++ b/src/World.h
@@ -1077,6 +1077,9 @@ private:
/** <summary>Generates a random spawnpoint on solid land by walking chunks and finding their biomes</summary> */
void GenerateRandomSpawn(void);
+ /** Check if player starting point is acceptable **/
+ bool CheckPlayerSpawnPoint(int a_PosX, int a_PosY, int a_PosZ);
+
/** Chooses a reasonable transition from the current weather to a new weather **/
eWeather ChooseNewWeather(void);