Skip to content

Commit

Permalink
Fix typo in mapblock.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno- committed Dec 12, 2014
1 parent 4e5d17f commit 9f65fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mapblock.h
Expand Up @@ -424,7 +424,7 @@ class MapBlock /*: public NodeContainer*/
{
m_usage_timer += dtime;
}
u32 getUsageTimer()
float getUsageTimer()

This comment has been minimized.

Copy link
@iqualfragile

iqualfragile Dec 12, 2014

"typo"

This comment has been minimized.

Copy link
@Zeno-

Zeno- Dec 12, 2014

Author Contributor

Yeah, somebody made a typo

{
return m_usage_timer;
}
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 9f65fd6

Please sign in to comment.