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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user