1
0

Some const and inheritance correctness (#5014)

* Some const and inheritance correctness
* Devirtualise SendBlockTo(Vector3i)

Co-authored-by: 12xx12 <12xx12100@gmail.com>
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
This commit is contained in:
12xx12
2020-11-13 22:50:46 +01:00
committed by GitHub
parent 14a00d0051
commit 283b9d706c
2 changed files with 5 additions and 8 deletions

View File

@@ -486,7 +486,7 @@ void cWorld::CastThunderbolt(Vector3i a_Block)
int cWorld::GetDefaultWeatherInterval(eWeather a_Weather)
int cWorld::GetDefaultWeatherInterval(eWeather a_Weather) const
{
auto & Random = GetRandomProvider();
switch (a_Weather)