From: Perttu Ahola Date: Tue, 18 Oct 2011 07:36:52 +0000 (+0300) Subject: Fix client profiler print interval X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=eae2d35ca568ccb652169f83e6a995db273fba94;p=zefram%2Fminetest%2Fminetest_engine.git Fix client profiler print interval --- diff --git a/src/game.cpp b/src/game.cpp index 92d4a2ae..645d7361 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1177,7 +1177,7 @@ void the_game( print_to_log = false; profiler_print_interval = 5; } - if(m_profiler_interval.step(0.030, profiler_print_interval)) + if(m_profiler_interval.step(dtime, profiler_print_interval)) { if(print_to_log){ infostream<<"Profiler:"<