summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-11 14:10:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-11 14:10:10 +0200
commit711113cd2b9deaa2f556c446885e976a79fadcbf (patch)
treec68d1d28277a3aefd5ec25d419022f2219e6f3f8 /src/World.h
parentAdd DoxyComments to he weather things. (diff)
downloadcuberite-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 'src/World.h')
-rw-r--r--src/World.h6
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)
}