mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
Fix typo in mapblock.h
This commit is contained in:
parent
4e5d17f666
commit
9f65fd6819
@ -424,7 +424,7 @@ public:
|
|||||||
{
|
{
|
||||||
m_usage_timer += dtime;
|
m_usage_timer += dtime;
|
||||||
}
|
}
|
||||||
u32 getUsageTimer()
|
float getUsageTimer()
|
||||||
{
|
{
|
||||||
return m_usage_timer;
|
return m_usage_timer;
|
||||||
}
|
}
|
||||||
|
@ -568,7 +568,7 @@ void Server::AsyncRunStep(bool initial_step)
|
|||||||
m_env->step(dtime);
|
m_env->step(dtime);
|
||||||
}
|
}
|
||||||
|
|
||||||
const float map_timer_and_unload_dtime = 2.92;
|
static const float map_timer_and_unload_dtime = 2.92;
|
||||||
if(m_map_timer_and_unload_interval.step(dtime, map_timer_and_unload_dtime))
|
if(m_map_timer_and_unload_interval.step(dtime, map_timer_and_unload_dtime))
|
||||||
{
|
{
|
||||||
JMutexAutoLock lock(m_env_mutex);
|
JMutexAutoLock lock(m_env_mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user