diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-05 18:58:29 +0200 |
commit | 156c9851b8a099656fa86ea52d989e35e5b7ebf1 (patch) | |
tree | f2d8b111aee03dba8f37a8c9bd04952ff1b7926c /src/World.h | |
parent | Fixed decision failure (diff) | |
download | cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.gz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.bz2 cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.lz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.xz cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.tar.zst cuberite-156c9851b8a099656fa86ea52d989e35e5b7ebf1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 7b87a76ac..80f69f22f 100644 --- a/src/World.h +++ b/src/World.h @@ -715,7 +715,9 @@ public: bool IsWeatherRain (void) const { return (m_Weather == wRain); } bool IsWeatherStorm(void) const { return (m_Weather == wStorm); } - /** Returns true if the current weather has any precipitation - rain or storm */ + /** Returns true if the current weather has any precipitation - rain or storm + Does not check if biome has no downfall, use cChunk::GetBiomeAt(RelX, RelZ) for that + */ virtual bool IsWeatherWet(void) const override { return (m_Weather != wSunny); } // tolua_end |