diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-11 14:10:10 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-11 14:10:10 +0200 |
commit | 711113cd2b9deaa2f556c446885e976a79fadcbf (patch) | |
tree | c68d1d28277a3aefd5ec25d419022f2219e6f3f8 /src/World.h | |
parent | Add DoxyComments to he weather things. (diff) | |
download | cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar.gz cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar.bz2 cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar.lz cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar.xz cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.tar.zst cuberite-711113cd2b9deaa2f556c446885e976a79fadcbf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index ac275b991..11c262e3a 100644 --- a/src/World.h +++ b/src/World.h @@ -710,9 +710,13 @@ public: /** Returns true if the current weather is sun */ bool IsWeatherSunny(void) const { return (m_Weather == wSunny); } - /** Returns true if it is sunny at the specified location. This takes into accunt biomes. */ + /** Returns true if it is sunny at the specified location. This takes into accunt biomes. + This function is identical to IsWeatherSunny except for two extra parameters that aren't used, but bearbin insists :/ + */ bool IsWeatherSunnyAt(int a_BlockX, int a_BlockZ) const { + UNUSED(a_BlockX); + UNUSED(a_BlockZ); return (m_Weather == wSunny) } |