1
0
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:
Craig Robbins 2014-12-12 18:06:36 +10:00
parent 4e5d17f666
commit 9f65fd6819
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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);