summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-06-11 14:20:31 +0200
committerAlexander Harkness <bearbin@gmail.com>2014-06-11 14:20:31 +0200
commitc09207cabcecb94b134f92e2dbfdad69da930b43 (patch)
tree39867a236947cf8a40345f466921b565033922a2
parentUpdated unnecessary function :/ (diff)
downloadcuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar.gz
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar.bz2
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar.lz
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar.xz
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.tar.zst
cuberite-c09207cabcecb94b134f92e2dbfdad69da930b43.zip
-rw-r--r--src/World.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/World.h b/src/World.h
index 11c262e3a..a72904f6a 100644
--- a/src/World.h
+++ b/src/World.h
@@ -717,7 +717,7 @@ public:
{
UNUSED(a_BlockX);
UNUSED(a_BlockZ);
- return (m_Weather == wSunny)
+ return (m_Weather == wSunny);
}
/** Returns true if the current weather is rain */
@@ -726,7 +726,7 @@ public:
/** Returns true if it is raining at the specified location. This takes into accunt biomes. */
bool IsWeatherRainAt (int a_BlockX, int a_BlockZ) const
{
- return (m_Weather == wRain) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)))
+ return (m_Weather == wRain) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)));
}
/** Returns true if the current weather is stormy */
@@ -735,7 +735,7 @@ public:
/** Returns true if the weather is stormy at the specified location. This takes into accunt biomes. */
bool IsWeatherStormAt(int a_BlockX, int a_BlockZ) const
{
- return (m_Weather == wStorm) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)))
+ return (m_Weather == wStorm) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)));
}
/** Returns true if the current weather has any precipitation - rain, storm or snow */
@@ -744,7 +744,7 @@ public:
/** Returns true if it is raining, stormy or snowing at the specified location. This takes into accunt biomes. */
bool IsWeatherWetAt(int a_BlockX, int a_BlockZ) const
{
- return (m_Weather != wSunny) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)))
+ return (m_Weather != wSunny) && (!IsBiomeNoDownfall(GetBiomeAt(a_BlockX, a_BlockZ)));
}
// tolua_end