summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
committerarchshift <admin@archshift.com>2014-04-25 05:25:03 +0200
commit62e5234535d1825b152c882fdaea9d2257194e6d (patch)
treec1fc8bb364b713c81ead55c95d7eee097cda4eae /src/World.cpp
parentOops, fixed that. (diff)
downloadcuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.gz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.bz2
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.lz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.xz
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.tar.zst
cuberite-62e5234535d1825b152c882fdaea9d2257194e6d.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 25ac9b021..21cabe434 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -316,12 +316,9 @@ int cWorld::GetDefaultWeatherInterval(eWeather a_Weather)
{
return 2400 + (m_TickRand.randInt() % 4800); // 2 - 6 minutes
}
- default:
- {
- LOGWARNING("%s: Missing default weather interval for weather %d.", __FUNCTION__, a_Weather);
- return -1;
- }
- } // switch (Weather)
+ }
+ LOGWARNING("%s: Missing default weather interval for weather %d.", __FUNCTION__, a_Weather);
+ return -1;
}