Skip to content
Permalink
Browse files

Fix typo in mapblock.h

  • Loading branch information
Zeno- committed Dec 12, 2014
1 parent 4e5d17f commit 9f65fd68194c5f06eac4d8696de518ced192dd3b
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/mapblock.h
  2. +1 −1 src/server.cpp
@@ -424,7 +424,7 @@ class MapBlock /*: public NodeContainer*/
{
m_usage_timer += dtime;
}
u32 getUsageTimer()
float getUsageTimer()

This comment has been minimized.

Copy link
@iqualfragile

This comment has been minimized.

Copy link
@Zeno-

Zeno- Dec 12, 2014

Author Contributor

Yeah, somebody made a typo

{
return m_usage_timer;
}
@@ -568,7 +568,7 @@ void Server::AsyncRunStep(bool initial_step)
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))
{
JMutexAutoLock lock(m_env_mutex);

0 comments on commit 9f65fd6

Please sign in to comment.