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

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