summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
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)
}