Skip to content

Commit 9f65fd6

Browse files
committedDec 12, 2014
Fix typo in mapblock.h
1 parent 4e5d17f commit 9f65fd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

Diff for: ‎src/mapblock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ class MapBlock /*: public NodeContainer*/
424424
{
425425
m_usage_timer += dtime;
426426
}
427-
u32 getUsageTimer()
427+
float getUsageTimer()
Has conversations. Original line has conversations.
428428
{
429429
return m_usage_timer;
430430
}

Diff for: ‎src/server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ void Server::AsyncRunStep(bool initial_step)
568568
m_env->step(dtime);
569569
}
570570

571-
const float map_timer_and_unload_dtime = 2.92;
571+
static const float map_timer_and_unload_dtime = 2.92;
572572
if(m_map_timer_and_unload_interval.step(dtime, map_timer_and_unload_dtime))
573573
{
574574
JMutexAutoLock lock(m_env_mutex);

0 commit comments

Comments
 (0)
Please sign in to comment.